Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I have a simple table that looks like below. I want to get a sum/total of Unique Claim numbers by month (users have a date slicer to choose).
I tried just Distinct Count(# Unique ClaimsProcessed = DISTINCTCOUNT('Claims Pmts Processed Upload'[Claim #]), but it doesn't change when I choose a specific month from the slicer . I aslo tried this
Solved! Go to Solution.
Hi @atowriss74 ,
Based on your description, do you create formulas that retain an external filtering context (such as a date field).
Refer to the following formulas (one contains a date filter, one does not)
M_ = CALCULATE(DISTINCTCOUNT('Table'[Category]),ALL('Table'))
M_slicerDate =
CALCULATE (
DISTINCTCOUNT ( 'Table'[Category] ),
ALLEXCEPT ( 'Table', 'Table'[Date] )
)
If the problem is still not resolved, please provide detailed error information and test data. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @atowriss74 ,
Based on your description, do you create formulas that retain an external filtering context (such as a date field).
Refer to the following formulas (one contains a date filter, one does not)
M_ = CALCULATE(DISTINCTCOUNT('Table'[Category]),ALL('Table'))
M_slicerDate =
CALCULATE (
DISTINCTCOUNT ( 'Table'[Category] ),
ALLEXCEPT ( 'Table', 'Table'[Date] )
)
If the problem is still not resolved, please provide detailed error information and test data. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @atowriss74 ,
in the link below you find the pbi file. In my file the slicer works good.
https://1drv.ms/u/s!Aj45jbu0mDVJiG2gubFw9YrtOIpP?e=oxApUl
Please hit the thumb and accept my answer as solution!!!
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
58 | |
55 | |
55 | |
38 | |
29 |
User | Count |
---|---|
78 | |
62 | |
45 | |
40 | |
40 |