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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
nick9one1
Helper III
Helper III

cross filter not working with calculate

I have a date dimension table that doesnt seem to be crossfiltered when I use calculate. Can anyone help?

 

this is my measure;

 

SLA - Percent = COUNT(SLA[OrderKey])/CALCULATE ( COUNT(SLA[OrderKey]),ALLEXCEPT(SLA,SLA[OrderType]))

 

 

nick9one1_0-1741093758112.png

nick9one1_1-1741093764674.png

 

 

6 REPLIES 6
v-sathmakuri
Community Support
Community Support

Hi @nick9one1 ,

 

I hope this information provided is helpful. Feel free to reach out if you have any further questions or would like to discuss this in more detail. If responses provided answers your question, please accept it as a solution so other community members with similar problems can find a solution faster.

 

Thank you!1

v-sathmakuri
Community Support
Community Support

Hi @nick9one1 ,

 

I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If the responses has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.

 

Thank you!!

v-sathmakuri
Community Support
Community Support

Hi @nick9one1 ,

 

Thank you for reaching out to Microsoft Fabric Community.

 

Thank you @danextian  and @bhanu_gautam  for the prompt response.

 

May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

 

Thank you!!

danextian
Super User
Super User

Hi @nick9one1 

 

The SLA crossfilters the dates table solely based on the related columns. A measure does not directly influence crossfiltering. Given that the relationship is between PlannedStartDateKey and Date, selecting a value in SLAStatusHighLevel will crossfilter the dates table only for the dates common to both tables when that value is chosen.

 

If you want the date slicer to be filtered, add the measure as a visual filter and select is not blank from the filter options. This approach won't work with a range slicer.





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.
bhanu_gautam
Super User
Super User

@nick9one1 , Try using

DAX
SLA - Percent =
VAR TotalOrders = COUNT(SLA[OrderKey])
VAR FilteredOrders = CALCULATE(
COUNT(SLA[OrderKey]),
ALLEXCEPT(SLA, SLA[OrderType]),
VALUES(DateDimension[DateColumn])
)
RETURN TotalOrders / FilteredOrders




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






thanks, 

 

I have changed the measure but I still get all dates in the dimension table. 

nick9one1_0-1741094502080.png

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Kudoed Authors