Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi All,
I am a newbie to PBI. I have run into this issue with my matrix visual
Delta is calculated basically as the difference between Date 1 & Date 2 using DAX. If there is value in Date 1 (say 100) and a value in Date 2 (70) the Delta is 30. But like the table below sometimes the value in Date 1 is blank/empty/null and Date 2 has a value and vice verse . If that is the situation I need the Delta to show up as a negative and positive value respectively.
For example (see first 2 rows...3rd and 4th row are working as expected)
Date 1 | Date 2 | Delta |
100 | -100 | |
100 | 100 | |
90 | 60 | 30 |
60 | 90 | -30 |
Can someone help with this?
Thanks!
Solved! Go to Solution.
Hi @Anonymous ,
Please refer to my pbix file to see if it helps you.
Create a column.
Delta_column = 'Table'[date 1]-'Table'[date 2]
Or a measure.
Delta_measure = MAX('Table'[date 1])-MAX('Table'[date 2])
If I have misunderstood your meaning, please provide more details with your desired output(Final output in image form).
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
Please refer to my pbix file to see if it helps you.
Create a column.
Delta_column = 'Table'[date 1]-'Table'[date 2]
Or a measure.
Delta_measure = MAX('Table'[date 1])-MAX('Table'[date 2])
If I have misunderstood your meaning, please provide more details with your desired output(Final output in image form).
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
11 | |
9 | |
8 | |
6 | |
5 |
User | Count |
---|---|
19 | |
17 | |
11 | |
9 | |
9 |