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 have two total sales amounts - one for 2017 and one for 2018 that I am creating on the fly. I am using the following formula to create a % variance between the two numbers -
Qty% =
(DIVIDE (
CALCULATE ( SUM ( table_PowerBI_FinishedGoods[Order Qty] ), table_PowerBI_FinishedGoods[Year] = 2018 ),
CALCULATE ( SUM ( table_PowerBI_FinishedGoods[Order Qty] ), table_PowerBI_FinishedGoods[Year] = 2017 )
) -1)
I am computing the correct value but when I display the three columns in a matrix (2017 - 2018 - Qty%) it displays as follows -
2017 qty% 2018 qty%
xxx xx xxx xx
The same qty% value displays twice - once next to each year. If I use the 'table' visual, it displays as two lines.
The question is how I can display the 'qty%' only once per line.
Thanks for looking at this.
Hi @GerryD
Please modify the measure
=DIVIDE( [2018 Measure] - [2017 Measure], [2017 Measure])
I am hoping it should work correctly
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 | |
80 | |
70 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |