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.
Hi,
I would like to create a visual that shows the 10 products with the biggest changes in volume. As these can be both positive and negative, I tried to created an ABS-value measure for use in Visual level filter, but the Top N filter is (probably obviuosly) not available for the measure.
Any suggestions?
/depple
Solved! Go to Solution.
Hi @depple
If you have a visual showing any measure by Product, you can certainly filter Product to the Top 10 based on absolute variance.
I created a simple example PBIX here and did the following:
Sales Amount Variance Absolute = ABS ( [Sales Amount Variance] )
Rank of Product by Absolute Variance = IF ( ISINSCOPE( Sales[Product] ), RANKX ( CALCULATETABLE ( VALUES ( Sales[Product] ), ALLSELECTED ( Sales[Product] ) ), [Sales Amount Variance Absolute] ) )
Hopefully that helps. Please post back if needed.
Regards,
Owen
Hi @depple
If you have a visual showing any measure by Product, you can certainly filter Product to the Top 10 based on absolute variance.
I created a simple example PBIX here and did the following:
Sales Amount Variance Absolute = ABS ( [Sales Amount Variance] )
Rank of Product by Absolute Variance = IF ( ISINSCOPE( Sales[Product] ), RANKX ( CALCULATETABLE ( VALUES ( Sales[Product] ), ALLSELECTED ( Sales[Product] ) ), [Sales Amount Variance Absolute] ) )
Hopefully that helps. Please post back if needed.
Regards,
Owen
@OwenAuger - the pbix file is not available on the link. Will it be possible to get it loaded again?
Thank you
Mira
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 |
---|---|
111 | |
100 | |
80 | |
64 | |
58 |
User | Count |
---|---|
146 | |
110 | |
93 | |
84 | |
67 |