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
bo_wang5
Helper II
Helper II

Sales data available at different levels

I have 2 data sources of sales data.  I did not merge the datasets so I have a sales data from one source and sales data from the other as two separate columns from two seperate tables.  In data source 1, the customer's name and city are available.  However, in Data source 2, there is no cusomter name information, I only have city and total sales.  Is there a way when the 2 source of data are put into to a matrix visual to not show the exact same value when the data is from data source 2?  So i still want the display to show a city level total for Data source 2 but not have that display for each customer since that data does not exist at the customer level in data source 2.

 

bo_wang5_1-1630886383172.png

 

 

bo_wang5_0-1630886003081.png

 

1 ACCEPTED SOLUTION

Thank you, I acutally used an 

if(isfiltered('Data Source 1'[Customer Name]),blank(),sum('Data Source 2'[Data source 2]))
for the visual, it seems to work.

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@bo_wang5 , Create a common city table and you can join both tables with that.

 

Also, you can create a customer table with additional row ( Enter Data, Append query in power query) having id -1 or name all , and add that as an additional column in not having customer(id _1 or Name all) .

 

Not join both table with customer and analyze the a data across.

 

Bridge Table: https://www.youtube.com/watch?v=Bkf35Roman8&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=19

 

Thank you, I acutally used an 

if(isfiltered('Data Source 1'[Customer Name]),blank(),sum('Data Source 2'[Data source 2]))
for the visual, it seems to work.

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.