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.
Hi,
In the below DAX, I am creating a measure with multiple filters. The last filter condition (bolded) is causing me issues.
)
When only a single value for "Network Group" is selected in a slicer, the DAX works as intended. However, if muliple or no selections are made for "Network Group", the entire calculation returns "(Blank)".
If there are mutliple or no "Network Group" values selected, I instead want the entire final filter condition to be ignored, and have no filtering based on the selected value of "Network Group".
I have tried using combinations of the IF, HASONEVALUE and also returning BLANK() as the alternate result, but nothing is working out.
A huge thanks in advance to anybody that can assist!
Solved! Go to Solution.
@PBI12345 Try this:
AsAt Leisure Revenue LY =
CALCULATE(
SUM(
'Data: RADAR'[Revenue Held (LY)]),
ALL('Booking Agents'),
'Data: RADAR'[Source] = "AsAt",
'Booking Agents'[Psuedo Segment Type] = "Leisure",
'Network Group Table'[Network Group] IN DISTINCT('Data: RADAR'[Network Group])
)
@PBI12345 Try this:
AsAt Leisure Revenue LY =
CALCULATE(
SUM(
'Data: RADAR'[Revenue Held (LY)]),
ALL('Booking Agents'),
'Data: RADAR'[Source] = "AsAt",
'Booking Agents'[Psuedo Segment Type] = "Leisure",
'Network Group Table'[Network Group] IN DISTINCT('Data: RADAR'[Network Group])
)
User | Count |
---|---|
48 | |
44 | |
19 | |
14 | |
14 |
User | Count |
---|---|
107 | |
57 | |
29 | |
20 | |
16 |