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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
romeo95
Frequent Visitor

hierarchical visualization

Hi to everybody, I write you to ask you a suggestion: I have a chart with the business structure, 2 columns with code structure and code it structures superior, like this
UNIT    UNIT FATHER
1    
2    
3        1
4        1
5        2
6        3

 I have my table of the facts with code structure and import sales,
UNIT    SALES
1        10
2        13
3        8
4        26
5        9
6        11

 how can I  get a hierarchical visualization of the data?

thanks

5 REPLIES 5
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @romeo95,

 

Please create a one to one relationship between these two tables based on [UNIT].

1.PNG

 

Add corresponding fields into chart visual. You can view hierarchical data by clicking the drill down icon.

2.PNG

 

Best regards,
Yuliana Gu

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

hi, I thank you but the solution is not that that I look for, in my scheme 3 are father of 6 but child of 1 but in the visualization it results to the same level of 1 and 2

Hi @romeo95,

 

Then, what is your desired output?

 

Regards,
Yuliana Gu

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

Hi Yuliana Gu,

I desidere something like this

UNIT  SALES
    
1  10
 3 8
  611
 SUBTOTAL 19
 4 26
 SUBTOTAL 26
SUBTOTAL 55
2  13
 5 9
 SUBTOTAL 9
SUBTOTAL 22
TOTAL  77

 

practically the same result that I would get through an oracle Hierarchical Query

Hi @romeo95,

 

Unfortunately, this is not achievable in Power BI. 

 

If your data source is Oracle DB, and you are able to get this desired output through Oracle query, maybe you could execute the same query when creating data source connection. So that you directly get this structure in data view.

3.PNG

 

Regards,
Yuliana Gu

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

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric Community.