The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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.