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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
sweetstar
Advocate I
Advocate I

How to show two table data to barchats

Untitled.pngThe current bar chat was pretty simple. Just bars, filter, slicers. The data was coming from one table connecting a database. however, I don't have the credential of the database but I can download PBIX modify, and upload back to the BPI service. 

 

Now, I was asked to add an extra CSV saving in SharePoint. The CSV data will be seen as a certain EventType (all row fixed with 'from smartuse') and add besides the previous 2 groups of bars. (I drew blue, green boxes to simulate)

 

I did check the forum. It seems that the only solution is to combine two tables into a new one. But I prefer not to do so, as I cannot apply the data model without the DB credential. Instead, I prefer using a measure. But do correct me if i am wrong.

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@sweetstar , You have create a new table in dax for common columns

example

event type = distinct(union(distinct(Table[EventType]),distinct(Table[EventType])))

Other in same way if need. Add date table even needed.

 

Join these with your two tables and analyze with common dimension

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@sweetstar , You have create a new table in dax for common columns

example

event type = distinct(union(distinct(Table[EventType]),distinct(Table[EventType])))

Other in same way if need. Add date table even needed.

 

Join these with your two tables and analyze with common dimension

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.