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
aurora90
New Member

How to merge two visuals in Power BI

HI Fellows,

 

I wonder, how can I merge two same-looking power bi visuals (pivot tables).

The difference between them is that they are using different measures and background formatting rules.

If not possible, is there an option in Power BI not to use the headers? I will crop the visuals and make the illusion of a merger.

aurora90_0-1637608409909.png

 

1 ACCEPTED SOLUTION
KNP
Super User
Super User

You could probably change your measures and formatting to calculate differently based on the KPI or whatever value required and then just use the one matrix but based on the question you asked.

 

There's no way that I'm aware of to turn off the headers but you can fake it by changing the formatting of the column headers. Set the text colour to the same colour as your report background. Make sure when you overlap the visuals that the correct one is on top by adjusting the order of the visuals in the selection pane. 

This should allow you to achieve what you want.

 

Have I solved your problem?
Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;).
chrome-9xf-Zagzel-B

If you found this post helpful, please give Kudos.
It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen.
If you find my signature vaguely amusing, please give Kudos.
KIfp67uy-Sr
Proud to be a Super User!PBI-Super-User-Rank-30x30-1x

View solution in original post

2 REPLIES 2
aurora90
New Member

Thank you very much for this idea!

 

However, I am quite new in DAX. I tried to merge those metrics:

Value =
Var Result= ROUND(AVERAGE(KPIs[Numerator])/AVERAGE(KPIs[Denominator]),3)
Var Result2=ROUND(SUM(KPIs[Numerator]),3)
Return
IF(ISBLANK(FORMAT(Result,"Percent")),"N/A",IF(MAX(KPIs[KPI])<>"Unreconciled Balance Sheet Accounts in USD", FORMAT(Result,"Percent"), FORMAT(Result2,"Currency")))
I am eceiving error: aurora90_0-1637669919479.png

When I gave up on the Currency FORMAT, it works, but $ Values are displayed as a General number. How to fix this?

 

Thanks for all ideas 🙂

KNP
Super User
Super User

You could probably change your measures and formatting to calculate differently based on the KPI or whatever value required and then just use the one matrix but based on the question you asked.

 

There's no way that I'm aware of to turn off the headers but you can fake it by changing the formatting of the column headers. Set the text colour to the same colour as your report background. Make sure when you overlap the visuals that the correct one is on top by adjusting the order of the visuals in the selection pane. 

This should allow you to achieve what you want.

 

Have I solved your problem?
Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;).
chrome-9xf-Zagzel-B

If you found this post helpful, please give Kudos.
It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen.
If you find my signature vaguely amusing, please give Kudos.
KIfp67uy-Sr
Proud to be a Super User!PBI-Super-User-Rank-30x30-1x

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.