We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hi Experts,
I have the following measure:
Solved! Go to Solution.
Hi @anandav
I create a measure which show the same result as your Customer subset measure when there is no relationship among tables.
Measure =
CALCULATE (
DISTINCTCOUNT ( sales[sale cust] ),
FILTER (
ALL ( sales ),
sales[sale date] <= MAX ( 'filter date table'[Date] )
&& sales[sale date] >= MIN ( 'filter date table'[Date] )
)
)
Also this measure won't change with the slicer from "calendar[date]".
Hi @anandav
I create a measure which show the same result as your Customer subset measure when there is no relationship among tables.
Measure =
CALCULATE (
DISTINCTCOUNT ( sales[sale cust] ),
FILTER (
ALL ( sales ),
sales[sale date] <= MAX ( 'filter date table'[Date] )
&& sales[sale date] >= MIN ( 'filter date table'[Date] )
)
)
Also this measure won't change with the slicer from "calendar[date]".
Hi,
It will be a lot easier to help if you share some data, explain the business context and also show the expected result.
Not too sure, but I believe the new REMOVEFILTERS can remove all filters: REMOVEFILTERS ().
Proud to be a Super User!
Paul on Linkedin.
Thanks for the suggestion. But FILTER doesn't accept REMOVEFILTERS()
From DAX.guide:
REMOVEFILTERS is an alias for ALL, but it can be used only as a CALCULATE modifier and not as a table expression like ALL
That doesn't work.
I need a way to remove filters in Sales and Calendar table in the SelectCOlimns statement.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 38 | |
| 33 | |
| 15 | |
| 15 |
| User | Count |
|---|---|
| 64 | |
| 63 | |
| 37 | |
| 36 | |
| 22 |