Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
i need to create measure to filter the category based on percentage is greater 10. after filter the category , i need to take top 2 category 2 of filter brands, based on other measure
Filter category that has greater 10 percentage
rank top 2 filtered category 2 based on loss
Kindly help to create to filter category 2 and need dax of top 2 for filtered category based on loss.
Solved! Go to Solution.
Hi @Anonymous ,
Please try this measure.
Top 2 Loss Gv =
CALCULATE (
[Loss gv],
KEEPFILTERS (
TOPN (
5,
ALLSELECTED ( 'Table'[Category 1], 'Table'[Category 2] ),
[Loss gv], DESC
)
)
)
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data
Hi @Anonymous ,
Please try this measure.
Top 2 Loss Gv =
CALCULATE (
[Loss gv],
KEEPFILTERS (
TOPN (
5,
ALLSELECTED ( 'Table'[Category 1], 'Table'[Category 2] ),
[Loss gv], DESC
)
)
)
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
99 | |
82 | |
70 | |
60 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |