Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi ,
I m using direct query to fetch some live data's from SQL, currently i have 2 CARD with the result, Is there anyway i can minus (-) the value from one card to other.
I need one more card saying Avaialble = (DIP FLEET - Currently in USE)
Hi @mifrasmm
You could try creating three measures. The first two to be the sum of each of the columns and then the last being the difference.
Sum of Dip Fleet = sum('Table'[Dip Fleet])
Sum of Currently in use = sum('Table'[Currently in Use])
Difference = [Sum of Dip Fleet] - [Sum of Currently in use]
Hi Phil,
Thanks for reply.
DIP FLEET is just text box.
Fixed value in text box.
Currently USE is fetching from SQL
Hi Phil,
Below sorted. I have used new measure to calulate remaining
| User | Count |
|---|---|
| 50 | |
| 37 | |
| 29 | |
| 16 | |
| 16 |
| User | Count |
|---|---|
| 73 | |
| 59 | |
| 39 | |
| 22 | |
| 21 |