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.
Hi,
I am using this measure to find the variance between two values in different table.
Diff = Sum(2022_comparison[owner]) - sum(2021_comparison[owner])
The measure is working fine as needed, but I wanted to see if it's possible to not show the difference if both the values dont exist. Here you can see no values for Owner 2022 in 5/25 to 5/31, but the diff still shows -94093, -94054, -93996 and so. That's what I dont want to be shown on here.
Can someone please advise? Thank you!
Solved! Go to Solution.
@sraj , Try a measure like
Diff =
Var _1 = Sum(2022_comparison[owner])
var _2 = sum(2021_comparison[owner])
return
if( not(isblank(_1)) && not(isblank(_2)) , _1-_2 , blank())
@sraj , Try a measure like
Diff =
Var _1 = Sum(2022_comparison[owner])
var _2 = sum(2021_comparison[owner])
return
if( not(isblank(_1)) && not(isblank(_2)) , _1-_2 , blank())
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 |
---|---|
106 | |
105 | |
80 | |
68 | |
61 |
User | Count |
---|---|
143 | |
104 | |
103 | |
82 | |
70 |