Shashank Banerjea
07/31/2023, 11:20 AMJan Soubusta
07/31/2023, 11:55 AMJan Soubusta
07/31/2023, 11:55 AMJan Soubusta
07/31/2023, 11:56 AMJakub Sterba
07/31/2023, 12:28 PMJakub Sterba
07/31/2023, 12:31 PMShashank Banerjea
07/31/2023, 12:32 PMMichal Hauzírek
07/31/2023, 12:37 PMJakub Sterba
07/31/2023, 12:39 PMShashank Banerjea
07/31/2023, 12:39 PMPull Requests
and it had a columns of RepoId
, Pull Request Id
, UserId
Merged
- true/false. If I wanted to get a count of just the merged Pull requests by repo. without adding the - Merged
column in the Insight.Shashank Banerjea
07/31/2023, 12:43 PMMichal Hauzírek
07/31/2023, 12:43 PMSELECT COUNT(Pull Request Id) WHERE Merged = 'true'
But simple metric SELECT COUNT(Pull Request Id)
and using insight-level filter for Merged
where you select true (or whatever is your value should also work (but the filter will be visible for user interaction).
As Jan posted in his screenshot - this should work. If it is not working for you, can you maybe post some more details, screenshot what you have in your insight, how that part of your model looks like etc?Shashank Banerjea
07/31/2023, 12:46 PMMichal Hauzírek
07/31/2023, 12:53 PMmerged
flter in the insight will remain set and invisible to the end user (unless they open the insight directly).Jakub Sterba
07/31/2023, 12:57 PM