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
Anonymous
Not applicable

Possibilità di non estendere la tabella con livelli vuoti

Ciao a tutti, il mio problema è legato all'estensione dei dati in una tabella su più livelli con righe vuote (ho impostato le foto). Esiste una soluzione in grado di coprire ciò che si desidera su più livelli?

 

1.PNG

The following is riportata the riga su more livelli con dati vuoti.

 

2.PNG

 

Ringrazio tutti in anticipo, un saluto

3 REPLIES 3
lbendlin
Super User
Super User

Add a filter to the visual or page based on that measure and set it to False.

Anonymous
Not applicable

Hi lbendlina, thank you very much for your reply. Your code returns "true" or "false" values. How do I associate the result of this hierarchy with my row levels?

lbendlin
Super User
Super User

Use a combination of ISINSCOPE() and ISBLANK() to decide what to do. Here is an example from a management hierarchy:

 

Hide = SWITCH(true(),ISINSCOPE(DW[L1]) && ISBLANK(VALUES(DW[L1])),TRUE()
,ISINSCOPE(DW[L2]) && ISBLANK(VALUES(DW[L2])),TRUE()
,ISINSCOPE(DW[L3]) && ISBLANK(VALUES(DW[L3])),TRUE()
,ISINSCOPE(DW[L4]) && ISBLANK(VALUES(DW[L4])),TRUE()
,ISINSCOPE(DW[L5]) && ISBLANK(VALUES(DW[L5])),TRUE()
,ISINSCOPE(DW[L6]) && ISBLANK(VALUES(DW[L6])),TRUE()
,ISINSCOPE(DW[L7]) && ISBLANK(VALUES(DW[L7])),TRUE()
,ISINSCOPE(DW[L8]) && ISBLANK(VALUES(DW[L8])),TRUE()
,FALSE())

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.