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
Cobra77
Post Patron
Post Patron

Change the level of the legend dynamically on bubble charts

Hi,

 

We have a tree for our organization.

 

How with bubble chart, dynamically show  level 2 when one of level1 is selected , show level3 when one of level2 is selected etc....

Exist a hierarchy for this dimension.

 

Thanks for your help if its possbile

3 REPLIES 3
v-jiascu-msft
Employee
Employee

Hi @Cobra77,

 

Which Bubble chart?

Can you share a sample? Usually, when Level 1 is selected, the corresponding Level 2 will be filtered.

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

bubblechart.jpg

 

its filtered ok , but we want the level to change in the legend

Niveau2 is in the Legend in this sample.

 

We want Niveau3 if the filter is on level 2 and so on

 

we can not put a measure in the legend ...

 i try with a measure , for the test i pass level 1 and name TOTO

 

TF test:=

VAR levl = 1     //   IF (HASONEFILTER('02 - Arborescence'[Level]) && HASONEVALUE('02 - Arborescence'[Level]);VALUES('02 - Arborescence'[Level] ) ;  -1 )

VAR nam = "TOTO"

 

// VAR List = CALCULATETABLE ( VALUES('02 - Arborescence'[Nom]) 
// ; '02 - Arborescence'[Division] = nam 
// ; '02 - Arborescence'[Level] = levl + 1)

 

VAR Filt = FILTER('02 - Arborescence'; '02 - Arborescence'[Level2] =
CALCULATETABLE ( VALUES('02 - Arborescence'[Nom])
; '02 - Arborescence'[Division] = nam
; '02 - Arborescence'[Level] = levl + 1) )
RETURN CALCULATE([TF]; Filt)

 

but :

 - How re filter name with only level2

- why i cant  VAR Filt = FILTER('02 - Arborescence'; '02 - Arborescence'[Level2] = List)  or VALUES (List)  ( if i delete comment )

 

Thanks

 

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.