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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Jyaul1122
Helper III
Helper III

Slicer filter based on status in fact table

Hello All,

Greeting,

 

I have dimentsion table Warning(unique EWID column, Project,Description, Raised Date ) and Fact table EBU Status(EWID,Record Date,Time Impact, Cost Impact and EBU Status) and those are related with EWID one to many relation.

And also Warning(Raised Date) is related with Calendar table.

Warning Dim table:

EWIDProjectDescriptionRaised
76Project 1Description115/1/2024
77Project 2Description1210/1/2024
78Project 2Description139/1/2024
80Project 3Description145/1/2024
120Project 4Description156/1/2024
121Project 5Description16/1/2024
122Project 6Description26/1/2024
123Project 7Description36/1/2024
124Project 8Description46/1/2024
125Project 9Description56/1/2024
126Project 1Description66/1/2024
127Project 2Description76/1/2024
157Project10Description85/1/2024
158Project10Description95/1/2024
159Project10Description105/1/2024

 

and EBU Status Fact table:

EWIDRecord DateTime ImpactCost ImpactEBU Status
12611/30/2024  EBU
805/31/2024  EBU
807/31/2024  EBU
767/31/2024  EBU
12512/31/2024  Not EBU
12312/31/2024  Not EBU
12112/31/2024  Not EBU
766/30/2024  EBU
1226/30/2024  Not EBU
806/30/2024  EBU
7710/31/2024  EBU
7611/30/2024  EBU
8011/30/2024  EBU
765/31/20242.5 Weeks11 KNot EBU
1231/31/2025  EBU
1206/30/20243 Weeks0.4 MEBU

 

Requirement: I would like to have commulative Description value based on month selection from slicer, for ex: if the month selected May-24 then Description value will be all from Jan-24 to May-24 and for June-24 : Jan-24 to Jun-24 and so on

So that I wrote the measures:

Desc_=

var max_=MAX('Calendar'[Date])
return
CALCULATE(MAX('Warning'[description]),REMOVEFILTERS('Calendar'),'Warning'[Raised]>=DATE(2024,01,01)&&'Warning'[Raised]<=max_)
 
also I would like to get EBU Status from EBU Status table based on current month selected from Slicer:
EBU Status_ =
CALCULATE(MAX('EBU Status'[EBU Status]),'EBU Status'[Record Date]=MAX('Calendar'[Date])).
Whenever I list the value in table is fine But when I tried to apply Slicer EBU Status then Its not applying correct filter.
Could you please help me, how can I short out ?
Jyaul1122_0-1735464040339.png

 

Jyaul1122_1-1735464071267.png

 

 
1 ACCEPTED SOLUTION

You can just uncheck Show items with no Data as EBU status is a measure and all other fields in the table are dimensions.

danextian_0-1735543836104.png

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

View solution in original post

3 REPLIES 3
danextian
Super User
Super User

Hi @Jyaul1122 

 

What do you mean by cumulative description? Are you supposed to accumulate them but they're not numbers? Or show the rows that are from the begining of the year up to the month selected? If the latter, then you will need a disconnected calendar table as using a related one will show only the rows  within the selected range and then a measure to be used as a visual filter

DateFilter = 
CALCULATE (
    COUNTROWS ( Warning ),
    KEEPFILTERS (
        Warning[Raised] >= DATE ( 2024, 1, 1 )
            && Warning[Raised] <= MAX ( 'Calendar'[Date] )
    )
)

 

danextian_0-1735471515060.png

Please see the attached sample pbix.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Accumulative is fine but I would like filter based on the EBU Status slicer, means EBU selected means only row with EBU for that selected month. For example when I applied slicer , result  will be only blue tick:

Jyaul1122_1-1735472858398.png

anothe example for Jun 24:

Jyaul1122_2-1735472958236.png

 

waiting for your reply, thanks.

 

 

You can just uncheck Show items with no Data as EBU status is a measure and all other fields in the table are dimensions.

danextian_0-1735543836104.png

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.