Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi, I have the following measure to count unique values but I need the measure to ignore any other filters on my visual.
= DISTINCTCOUNT(ResellerSales[SalesOrderNumber])
I have tried to include the ALL function which partly works but every single row in my matrix has the same total count.
While I need it to ignore filters, I need it to still show the row context as each row in my table has an account number: = (ResellerSales[AccNo])
Thanks
Solved! Go to Solution.
The question context is vague, but, try something like this:
Result =
CALCULATE(
DISTINCTCOUNT(ResellerSales[SalesOrderNumber]),
KEEPFILTERS( 'filter to keep' ),
REMOVEFILTERS( 'filters to remove' )
)
The ALL() function should work. I can offer more help if you share the download link of your PBI file and show the expected result.
The question context is vague, but, try something like this:
Result =
CALCULATE(
DISTINCTCOUNT(ResellerSales[SalesOrderNumber]),
KEEPFILTERS( 'filter to keep' ),
REMOVEFILTERS( 'filters to remove' )
)
User | Count |
---|---|
141 | |
113 | |
104 | |
78 | |
64 |
User | Count |
---|---|
136 | |
125 | |
107 | |
70 | |
61 |