Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi, I am very simply able to calculate something using the filter pane to alter the context and display a correct number. Please see this image.
However, I now need to run some calculations on the number presented by this, which means I need to write some DAX to obtain it instead of using filters.
I have experimented with TOPN but I can't seem to get hold of the right number.
Has anyone got some ideas on how to exactly replicate this filter in DAX?
Thanks in advance!
Solved! Go to Solution.
@powerbiuser9999 , create a measure count(Table[field 2]) and use that
or create top N measure
TOPN: https://www.youtube.com/watch?v=QIVEFp-QiOk&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=42
@powerbiuser9999 , create a measure count(Table[field 2]) and use that
or create top N measure
TOPN: https://www.youtube.com/watch?v=QIVEFp-QiOk&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=42
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.