Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi
I need a measure which will subtract the max value from 1 table from the max value in another table based on date ranges
Simplified Table 1 - Budget
Date Column and a Budget column (number)
Simplified Table 2 - Spend
Date column and Spend column (Number)
I also have a date table to link them together. I cant link them directly due to other relationships
I want to determine how much budget is left This year by subtracting the spend from the budget and refer to that in a card
So ive done the following measure:
= Max(table1[Budget]) - Max(table2[Spend])
And put a relative date filter on the card for this year using the date table
This gives me the incorrect answer i.e. 200 - 72 = 90
Ive seperated the 2 halves of the formula out to see if I can get a vlaue for spend and budget seperately with the same date filter, this works perfectly. its only when the formula is put together I get the wrong answer
Hope someone can help
Matt
User | Count |
---|---|
128 | |
108 | |
99 | |
65 | |
62 |
User | Count |
---|---|
136 | |
113 | |
102 | |
71 | |
60 |