Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
avulasandeep
Helper III
Helper III

Filter not working properly for Cumulative count

HI Everyone ,

 

i got one error,

 

i kept Distinct count ID by latest  4 week date(Column Chart) and Cumulative Count ID by  latest 4 week date(Column Chart)

in 2 visuals  and based on  policy name i kept another visual ie Policy Name by Distinct Count ID(Pie Chart) and my question is

when i am selecting policy name in pie chart it is not proper filtering in Cumulative Count ID chart. 

Below i kept visuals.

 

post on may 27th.JPG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

and When i am Selecting Policy Name  EE in  Pie Chart it filtering properly with distinct count but not with Cumulative Count.

 

Below i kept filtering screen shot.

 

 

post on may 27th.JPG_1.jpg

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Columns in Table :

1.Policy Name
2.Id 

3.Date 

Measures Used :

1. Distinct count = DISTINCTCOUNT(Sheet2[ID])

2. Cummulative Count = CALCULATE([distinctcount],FILTER(ALL(Sheet2),Sheet2[Date] <=MAX(Sheet2[Date])))

 

Calculated Columns used :

1.First Week Date  = Sheet2[date]- WEEKDAY(Sheet2[Date],1)+1

 

Note : Here First Week =  calendar week date (1=sunday)

 

Can anyone knows  about this issue . Please Reply.

 

 

Thanks 

sandeep kumar

 

1 ACCEPTED SOLUTION
v-chuncz-msft
Community Support
Community Support

@avulasandeep,

 

You may use ALLSELECTED Function instead of ALL Function.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-chuncz-msft
Community Support
Community Support

@avulasandeep,

 

You may use ALLSELECTED Function instead of ALL Function.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.