Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
So I have a matrix visual that shows data for the last few years. I have a measure that takes the most recent value and calculates the percentage change vs the average of the other years. So based on the image below my measure would take the average of 2017-2019 and calculate the percentage change for 2020 based on that average.
When I bring this measure into the matrix in addition to what's shown above, the results are not right because it is showing the measure by each year.
Is there a way so that my measure would appear blank for each of the years and then show up in the total?
So the result would be the same as above, but for total there would also be a percentage variance which is my measure I'm trying to add to the matrix.
Solved! Go to Solution.
@Anonymous Sure,
Measure Total Only =
IF(HASONEVALUE('Table'[Year]),BLANK(),[Existing Measure])
@Anonymous ,
refer if isinscope and isfiltered can help
https://www.kasperonbi.com/use-isinscope-to-get-the-right-hierarchy-level-in-dax/
https://powerpivotpro.com/2013/03/hasonevalue-vs-isfiltered-vs-hasonefilter/
@Anonymous Sure,
Measure Total Only =
IF(HASONEVALUE('Table'[Year]),BLANK(),[Existing Measure])
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
144 | |
75 | |
64 | |
52 | |
47 |
User | Count |
---|---|
219 | |
89 | |
76 | |
67 | |
60 |