Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
I am trying to calculate the sum of sales (in combined table) for the Version and 2 clients listed in the measure below when the Revenue Date (column in the Combined Table) equals the EOM of the slected date in the slicer. The page has a date slicer only.
I've tried a couple different things, and this was my lataest: But I get the error: The True/False expression does not specify a column. Each True/False expressions used as a table filter expression must refer to exactly one column.
The Measure Combined Total Revenue referenced in the Calculate is just this: sum('Combined All'[Value])
Also of note...I do have a disconnected Date Table
Can anyone help me corect this?
Thank You
Test =
VAR _SelDate = MAX('Date'[Date])
VAR _Day = SELECTEDVALUE('Date'[Day])
VAR _EOM = EOMONTH(_SelDate, 0)
RETURN
CALCULATE(
[Combined Total Revenue],
'Combined All'[Version] = "Prediction",'Combined All'[Profitability Customer] = "ClientA"||'Combined All'[Profitability Customer] = "ClientB",
REMOVEFILTERS('Date'[Date]),
KEEPFILTERS(_EOM))
Test = //Try this one
VAR _SelDate = MAX('Date'[Date])
VAR _Day = SELECTEDVALUE('Date'[Day])
VAR _EOM = EOMONTH(_SelDate, 0)
RETURN
CALCULATE(
[Combined Total Revenue],
'Combined All'[Version] = "Prediction",
'Combined All'[Profitability Customer] IN {"ClientA", "ClientB"},
FILTER('Date', 'Date'[Date] = _EOM)
)
Did I answer your question? If so, please mark my post as a solution!
Proud to be a Super User!
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
User | Count |
---|---|
91 | |
89 | |
79 | |
69 | |
68 |
User | Count |
---|---|
222 | |
128 | |
117 | |
82 | |
77 |