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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
melikekurrt
Frequent Visitor

Power BI - multiple filtering

Hello,

I am analyzing the SLA status of the tickets. But I am experiencing inconsistency. What I want to do is to filter and list the openperiod and close period dates at the same time. I'm new to Power BI I need help

 

For example, here in the filter section, I am listing the sla breach tickets that were closed in week 37. I also want to add the tickets that were opened in week 37 and received sla to the list. Because some tickets may not have been closed yet, I am missing the essence due to the close date period filter. What can I do ?

 

melikekurrt_0-1727784523596.png

 

 

Thank you,

 

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @melikekurrt ,

Please try this way:
Here is my sample data:

vjunyantmsft_1-1727836174950.png

Use Numeric range parameter to create another table for slicer:

vjunyantmsft_2-1727836222417.png

vjunyantmsft_3-1727836245139.png

The minimum and maximum values here correspond to the minimum and maximum values of fxPeriod in your original data, respectively.

vjunyantmsft_4-1727836311140.png

vjunyantmsft_5-1727836317834.png

Then use this DAX to create a measure:

Filter = 
VAR _fxPeriod = SELECTEDVALUE(fxPeriod[Parameter])
RETURN
IF(
    ISFILTERED(fxPeriod[Parameter]),
        IF(
            MAX('Table'[fxClosedPeriod]) = _fxPeriod || MAX('Table'[fxOpenPeriod]) = _fxPeriod,
            1,
            0
        ),
    1
)

Set up the filter as shown below:

vjunyantmsft_6-1727836493656.png

vjunyantmsft_7-1727836523339.png

 

 Output:

vjunyantmsft_8-1727836698329.png


Best Regards,
Dino Tao
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

2 REPLIES 2
Anonymous
Not applicable

Hi @melikekurrt ,

Please try this way:
Here is my sample data:

vjunyantmsft_1-1727836174950.png

Use Numeric range parameter to create another table for slicer:

vjunyantmsft_2-1727836222417.png

vjunyantmsft_3-1727836245139.png

The minimum and maximum values here correspond to the minimum and maximum values of fxPeriod in your original data, respectively.

vjunyantmsft_4-1727836311140.png

vjunyantmsft_5-1727836317834.png

Then use this DAX to create a measure:

Filter = 
VAR _fxPeriod = SELECTEDVALUE(fxPeriod[Parameter])
RETURN
IF(
    ISFILTERED(fxPeriod[Parameter]),
        IF(
            MAX('Table'[fxClosedPeriod]) = _fxPeriod || MAX('Table'[fxOpenPeriod]) = _fxPeriod,
            1,
            0
        ),
    1
)

Set up the filter as shown below:

vjunyantmsft_6-1727836493656.png

vjunyantmsft_7-1727836523339.png

 

 Output:

vjunyantmsft_8-1727836698329.png


Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

lbendlin
Super User
Super User

Does your data model have a Calendar table?  Are your slicers fed by disconnected tables or from the data model?

 

Lutfen, provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).

Do not include sensitive information. Do not include anything that is unrelated to the issue or question.

Need help uploading data? https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...

Please show the expected outcome based on the sample data you provided.

Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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