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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. 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
Solution Sage
Solution Sage

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
Solution Sage
Solution Sage

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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.