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
lewdow
Helper I
Helper I

Show what is filtered as a visual - but with several filter options

Hi - I have a report from which the user can select the geography that they wish to view data for. They need to be filters as there are too many layers to accomodate slicers on the report pages. 

 

I need to show on a report page what has been selected from the lowest level of geography at any point in time. The heirarchy (in order) is:

 

Country

Macro Organisation

Decision Making Cluster

Account

Cluster

 

So if someone selects a / multiple cluster in the 'Cluster' filter, I want the measure to show the cluster name(s). However if they don't select a cluster but have selected an / multiple accounts it should show the account name. 

 

Any idea where to start

 

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

HI @lewdow,

You can refer to the following link to know how to handle hierarchy level fields, then you can add if statement with filters to check current hierarchy level and return correspond selected items.

Clever Hierarchy Handling in DAX 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

3 REPLIES 3
v-shex-msft
Community Support
Community Support

HI @lewdow,

You can refer to the following link to know how to handle hierarchy level fields, then you can add if statement with filters to check current hierarchy level and return correspond selected items.

Clever Hierarchy Handling in DAX 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
VasTg
Memorable Member
Memorable Member

@lewdow 

 

Just noticed the Hierarchy slicer/filter released today as a preview version - Feb 2020. Thats exactly what you need.

 

https://powerbi.microsoft.com/en-us/blog/power-bi-desktop-february-2020-feature-summary/

Connect on LinkedIn
VasTg
Memorable Member
Memorable Member

@lewdow 

 

Look into SELECTEDVALUE and union the output and display them as a table.

Connect on LinkedIn

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.