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
Nithinbob24
Frequent Visitor

creation of a visual

 

 This is a visual table header example from Tableau , how to create these kind of column headers in power bi ?

 

2 ACCEPTED SOLUTIONS
Selva-Salimi
Super User
Super User

Hi @Nithinbob24 

 

you can use a matrix, add each of these column in column section and then use the expand button to have a matrix like that.

SelvaSalimi_0-1729571922283.png

 

If this post helps, then I would appreciate a thumbs up  and mark it as the solution to help the other members find it more quickly.

View solution in original post

Ritaf1983
Super User
Super User

Hi @Nithinbob24 
You need to have a table with needed hierarchies like :

Ritaf1983_0-1729571641185.png

Ritaf1983_1-1729571692874.png

and use dynamic measures or calculation groups.

The guide for dynamic  measures :

https://www.youtube.com/watch?v=HLZmFzq4c4w

(it is not exactly yours scenario but you need the same logic of using selectedvalue)

for calculation groups :

https://www.youtube.com/watch?v=4mkuu7XaEHM

For more specific suggestion 

Please provide a workable sample data and your expected result from that. It is hard to figure out what you want to achieve from the description alone.  

https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

6 REPLIES 6
Ritaf1983
Super User
Super User

Hi @Nithinbob24 
You need to have a table with needed hierarchies like :

Ritaf1983_0-1729571641185.png

Ritaf1983_1-1729571692874.png

and use dynamic measures or calculation groups.

The guide for dynamic  measures :

https://www.youtube.com/watch?v=HLZmFzq4c4w

(it is not exactly yours scenario but you need the same logic of using selectedvalue)

for calculation groups :

https://www.youtube.com/watch?v=4mkuu7XaEHM

For more specific suggestion 

Please provide a workable sample data and your expected result from that. It is hard to figure out what you want to achieve from the description alone.  

https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

@Ritaf1983 

Kedar_Pande_1-1729578794751.png

 

I have created the measures all the columns ex. My Property, % Chg, comp set, etc.

 

I don't have Occupancy,  ADR, RevPAR in my date.

How to group the measures to the respective group in the matrix

Hi @Kedar_Pande

I'm sorry, but I didn't understand the question....

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

@Ritaf1983 

I have created measures like My Property, % Chg, comp set, etc.

Now when I add them to the matrix values, Then show correctly.
Now I want to bucket this measures in the category they belong like Occupancy, ADR , etc as showing in the image attached

Hi @Kedar_Pande 

In general, you’ll need to create a table with all the hierarchies of the measures and then use DAX with SelectedValue to handle the logic. Alternatively, you can achieve something similar with calculation groups (which I’m less experienced with).

On a smaller scale, it’s difficult to solve challenges like this based solely on a picture. If you would like to see this implemented, please prepare a PBIX file that we can work with and share it via a link. It doesn’t need to include sensitive information, and it can be a small file as long as it has the logic you’re working with.

It would also be great if you could create a more detailed post to help clarify the issue.

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile
Selva-Salimi
Super User
Super User

Hi @Nithinbob24 

 

you can use a matrix, add each of these column in column section and then use the expand button to have a matrix like that.

SelvaSalimi_0-1729571922283.png

 

If this post helps, then I would appreciate a thumbs up  and mark 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! Prices go up Feb. 11th.

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.