Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
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
User | Count |
---|---|
126 | |
108 | |
99 | |
65 | |
62 |
User | Count |
---|---|
137 | |
116 | |
102 | |
71 | |
61 |