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
mgrayTCB
Helper III
Helper III

Dim Table will filter fact table by any column except one

I have a simple dimTable that filters a fact table. I can use any column in the dim table and get the correct results but there is one field in the dim table that when used in a slicer does nothing.

mgrayTCB_0-1659122825533.png

In my visual if I use MSShrotName to filter nothing works.

mgrayTCB_1-1659122947625.png

mgrayTCB_2-1659123043137.png

If I use any other field in the dim table as the slicer value (or a page filter) it works fine. I even created a field in the dim table that just equals the MSShortName field that I want to use and it works. It just wont work on the MSShrotName field for some reason.

 

This is what the dimMilestones looks like.

mgrayTCB_3-1659123199302.png

 

I should not have to create a copy of the MSShortName to get the result I want. Any field other thant MShortName works fine.

mgrayTCB_4-1659123335150.pngmgrayTCB_5-1659123380653.png

 

This is driving me bananas.... any help would be appreciated

 

 

1 ACCEPTED SOLUTION
bcdobbs
Super User
Super User

That's very strange behaviour.

A few thoughts:

1) First thing I'd check is the definitions of the measures. Make sure they're not removing that field from the filter context for some reason (look for ALL, REMOVEFILTERS etc).

 

2) Has the model been refreshed (either full or a recalculate via tabular editor).



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!

View solution in original post

4 REPLIES 4
bcdobbs
Super User
Super User

That's very strange behaviour.

A few thoughts:

1) First thing I'd check is the definitions of the measures. Make sure they're not removing that field from the filter context for some reason (look for ALL, REMOVEFILTERS etc).

 

2) Has the model been refreshed (either full or a recalculate via tabular editor).



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!

Thank you. It was the hidden ALL in the filter part of the measure I wrote. 

Please accept at least one of the solutions and click thumbs up, to thank solvers for taking time to help you with the  ALL suggetion.

speedramps
Super User
Super User

Please dont publish private data on this forum because your customers and manager may complain.


You need to provide more information:-

 

1) A screen prnt of the relationship netween the dimesion and fact tables

 

2)  A screen print of the interaction between the slicer and table visaul, showing that interactions has not been turned off.

 

3) A screen print of the DAX measures showing that the ALL or REMOVEFILTERS command has not been used, which may overide your slicer.

 

I suspected your problem is 3. Check your measures carefully.

The Dimension slicers will work!  You must be overiding the slicer somewhere in the vsisual interactions  or measures.

 

 

Thanks for reaching out for help.

I put in a lot of effort to help you, now please quickly help me by giving kudos.

Remeber we are unpaid volunteers and here to coach you with Power BI and DAX skills and techniques, not do the users job for them. So please click the thumbs up and accept as solution button. 

If you give someone a fish then you only give them one meal, but if you teach them how to fish then they can feed themselves and teach others for a lifetime.  I prefer to teach members on this forum techniques rather give full solutions and do their job. You can then adapt the technique for your solution, learn some DAX skills for next time and soon become a Power BI Super User like me. 

 

One question per ticket please. If you need to extend your request then please raise a new ticket.

You will get a quicker response and each volunteer solver will get the kudos they deserve. Thank you ! 

 

 

 

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.