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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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 13K+ 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 13K+ 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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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