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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
jacques_412
Frequent Visitor

Turn off feature whereby groups in filter are removed based on another filter

good morning

 

I have two filters. One filters by business unit, and another by job. When I filter by business, it removes all the job types that are not in that business from the second filter. I do not want it to do this. How do I stop this?

 

I have tried adding a calculated column that takes the max of the business unit name, thinking that a calculated column might help.

 

I have also tried duplicating the table, and joining on the job name, but job names aren't unique in the table so that also doesn't work.

 

Any ideas?

1 ACCEPTED SOLUTION
Sahir_Maharaj
Super User
Super User

Hello @jacques_412,

 

Can you please try creating a new measure or calculated column in your report using the USERELATIONSHIP function:

MeasureName =
CALCULATE(
    [YourMeasure],
    USERELATIONSHIP(JobTable[Job], BusinessUnitTable[Job]),
    ALLSELECTED()
)

Did I answer your question? Mark my post as a solution, this will help others!

If my response(s) assisted you in any way, don't forget to drop me a "Kudos" 🙂

Kind Regards,
Sahir Maharaj
Data Scientist | Data Engineer | Data Analyst | AI Engineer
P.S. Want me to build your Power BI solution?
➤ Lets connect on LinkedIn: Join my network of 15K+ professionals
➤ Join my free newsletter: Data Driven: From 0 to 100
➤ Website: https://sahirmaharaj.com
➤ Email: sahir@sahirmaharaj.com
➤ Want me to build your Power BI solution? Lets chat about how I can assist!
➤ Join my Medium community of 30K readers! Sharing my knowledge about data science and artificial intelligence
➤ Explore my latest project (350K+ views): Wordlit.net
➤ 100+ FREE Power BI Themes: Download Now
LinkedIn Top Voice in Artificial Intelligence, Data Science and Machine Learning

View solution in original post

1 REPLY 1
Sahir_Maharaj
Super User
Super User

Hello @jacques_412,

 

Can you please try creating a new measure or calculated column in your report using the USERELATIONSHIP function:

MeasureName =
CALCULATE(
    [YourMeasure],
    USERELATIONSHIP(JobTable[Job], BusinessUnitTable[Job]),
    ALLSELECTED()
)

Did I answer your question? Mark my post as a solution, this will help others!

If my response(s) assisted you in any way, don't forget to drop me a "Kudos" 🙂

Kind Regards,
Sahir Maharaj
Data Scientist | Data Engineer | Data Analyst | AI Engineer
P.S. Want me to build your Power BI solution?
➤ Lets connect on LinkedIn: Join my network of 15K+ professionals
➤ Join my free newsletter: Data Driven: From 0 to 100
➤ Website: https://sahirmaharaj.com
➤ Email: sahir@sahirmaharaj.com
➤ Want me to build your Power BI solution? Lets chat about how I can assist!
➤ Join my Medium community of 30K readers! Sharing my knowledge about data science and artificial intelligence
➤ Explore my latest project (350K+ views): Wordlit.net
➤ 100+ FREE Power BI Themes: Download Now
LinkedIn Top Voice in Artificial Intelligence, Data Science and Machine Learning

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.