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 the exact same measure in a barchart and in a Matrix table.. the bar chart displays the correct decimal values, the matrix displays all zeros... not sure why or how to correctly fix this... the measure is formatted under Moedling tab as decimal and 4 units.
Solved! Go to Solution.
thanks for thr reply, here is the measure. It works fine in chart type, BUT in the Matrix. the values are all zeros.
i am just taking the current value and subtracting it from previous months value. if the month is the 1st month, just show a zero. Is this proper?
Match Rate Diff = VAR Minimun_Date = CALCULATE(MIN(MatchRate[Date]), ALL(MatchRate[Date])) VAR Date_to_Compare = MIN(MatchRate[Date]) RETURN IF( Minimun_Date = Date_to_Compare, 0, SUMX(MatchRate, MatchRate[MatchedRate]) - CALCULATE( SUMX(MatchRate, MatchRate[MatchedRate]), DATEADD(MatchRate[Date],-1, MONTH )))
Hi @ilcaa72,
Based on my test, it could work on my side:
Could you please offer me your data strcture and your measure formula?
You can also download the PBIX file to have a view.
https://www.dropbox.com/s/npw2h2mxe0t93yx/table%20doesnt%20display%20values.pbix?dl=0
Regards,
Daniel He
hi Daniel, You didnt subtract the values in your exaple workbook. all you did was list the values... here is a sample work book
https://1drv.ms/u/s!Av69y58QJYzRjyE4igUTbHkFchba
i need to subtract each value from the previous month for each bank
thanks for thr reply, here is the measure. It works fine in chart type, BUT in the Matrix. the values are all zeros.
i am just taking the current value and subtracting it from previous months value. if the month is the 1st month, just show a zero. Is this proper?
Match Rate Diff = VAR Minimun_Date = CALCULATE(MIN(MatchRate[Date]), ALL(MatchRate[Date])) VAR Date_to_Compare = MIN(MatchRate[Date]) RETURN IF( Minimun_Date = Date_to_Compare, 0, SUMX(MatchRate, MatchRate[MatchedRate]) - CALCULATE( SUMX(MatchRate, MatchRate[MatchedRate]), DATEADD(MatchRate[Date],-1, MONTH )))
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 |
---|---|
110 | |
97 | |
77 | |
63 | |
55 |
User | Count |
---|---|
143 | |
109 | |
89 | |
84 | |
66 |