March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
User | Count |
---|---|
90 | |
86 | |
83 | |
72 | |
49 |
User | Count |
---|---|
167 | |
149 | |
98 | |
73 | |
57 |