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.
i have a matrix with the following rows :
item,year,month,day.
i have a measure called difference % that gets me the difference % on item level and on year, month and day. the itemNo difference is calculated in a different way, here is the full dax code:
Solved! Go to Solution.
Hi, @Hussein_charif
As I am not entirely clear on your data, I have created the following example:
1.Firstly, you can use the following calculation columns:
Column =
IF (
CALCULATE (
'valueEntry'[Difference %],
ALLEXCEPT ( 'valueEntry', 'valueEntry'[itemNo] )
) >= 0.25,
1,
0
)
2.Secondly, apply this calculated column to the visualisation object.
3.Here's my final result, which I hope meets your requirements.
The final result may still need adjustments based on your data.Can you share sample data and sample output in tabular format if I am misunderstanding? Or a sample pbix after removing sensitive data. We can better understand the problem and help you.
We recommend uploading it to GitHub and sharing the link with us.When uploading a file, please be careful to delete sensitive information.
Please find the attached pbix relevant to the case.
Best Regards,
Leroy Lu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @Hussein_charif
As I am not entirely clear on your data, I have created the following example:
1.Firstly, you can use the following calculation columns:
Column =
IF (
CALCULATE (
'valueEntry'[Difference %],
ALLEXCEPT ( 'valueEntry', 'valueEntry'[itemNo] )
) >= 0.25,
1,
0
)
2.Secondly, apply this calculated column to the visualisation object.
3.Here's my final result, which I hope meets your requirements.
The final result may still need adjustments based on your data.Can you share sample data and sample output in tabular format if I am misunderstanding? Or a sample pbix after removing sensitive data. We can better understand the problem and help you.
We recommend uploading it to GitHub and sharing the link with us.When uploading a file, please be careful to delete sensitive information.
Please find the attached pbix relevant to the case.
Best Regards,
Leroy Lu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 |
---|---|
145 | |
87 | |
66 | |
51 | |
45 |
User | Count |
---|---|
215 | |
90 | |
83 | |
66 | |
58 |