Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi Team,
I'm hoping that there is a simple solution to this. I have a table of calculated measures. Put simply I need to count the number of rows where one measure (e.g. the up benchmark) is > 100%. I have tried a number of different approaches (addcollumns + summarizecolumns) but the result is returning all rows (128) rather than the filtered outcome?
Can anyone suggest where I may be going wrong here?
Appreciate any help!
Solved! Go to Solution.
@JMac_WandB , Try a measure like
Countx(filter(ADDCOLUMNS( Summarize(LIC_Price_NTA[Cal_Period]) ,"Up", [Up_Returns_Benchmark]), [_1] >1), [Cal_Period])
If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
@JMac_WandB , Try a measure like
Countx(filter(ADDCOLUMNS( Summarize(LIC_Price_NTA[Cal_Period]) ,"Up", [Up_Returns_Benchmark]), [_1] >1), [Cal_Period])
If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Thanks Amit, perfect (just needed to alter the [_1] to [up])
Really appreciate your quick response.
User | Count |
---|---|
81 | |
75 | |
70 | |
42 | |
36 |
User | Count |
---|---|
114 | |
56 | |
52 | |
43 | |
42 |