Forum Discussion
Difference Value
- Anonymous2 years ago
Hi AllanBerces ,
Please try the following methods and check if they can solve your problem:
1.Create the simple table.
2.Create the new measure to filter.
Output Measure = VAR Available = SELECTEDVALUE('Table'[Available]) VAR Required = SELECTEDVALUE('Table'[Required]) RETURN IF( Available = 0, Required, IF( Available = Required, 0, IF( Available > Required, 0, Required - Available ) ) )3.Drag the measure into the card visual. The result is shown below.
Best Regards,
Wisdom Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi AllanBerces ,
Please try the following methods and check if they can solve your problem:
1.Create the simple table.
2.Create the new measure to filter.
Output Measure =
VAR Available = SELECTEDVALUE('Table'[Available])
VAR Required = SELECTEDVALUE('Table'[Required])
RETURN
IF(
Available = 0,
Required,
IF(
Available = Required,
0,
IF(
Available > Required,
0,
Required - Available
)
)
)
3.Drag the measure into the card visual. The result is shown below.
Best Regards,
Wisdom Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Anonymous
Thank you very much, working perfectly.