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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
ARatz
New Member

Identify row counts greater than 1

Hi

 

I hava the followign Dimensions: Deals (with the Deal ID), Offering, Profit Center and two Fact Tables with one measure from each. I want to identify all Deal ID with show up in the visual more than once due to not matching Offerings in the two fact tables. fe. Deal ID 10509130458 should show up as 2 since I have two rows caused by differnt Offerings. 

 

See extract in file attachment

https://swissbusinessanalyticscom.sharepoint.com/:x:/s/adnovum/EbHeKrZOACZDpIzVd3IdH8kBXQWA3T-H3nWFW... 

 

best

Andreas

1 ACCEPTED SOLUTION
v-nmadadi-msft
Community Support
Community Support

Hi @ARatz  ,
Thanks for reaching out to the Microsoft fabric community forum.

To identify all Deal IDs that appear more than once in a Power BI visual due to mismatched Offering values across two different fact tables, you can create a unified structure that allows for easy comparison. You can create a new DAX table that combines the Deal ID and Offering columns from both fact tables using the UNION function. This table consolidates all Offering entries tied to each Deal ID from both sources.
UNION (DAX) FUNCTION - DAX | Microsoft Learn

Combine multiple tables with UNION / UNION ALL in ... - Microsoft Fabric Community

Once this combined table is created, define a DAX measure that counts the distinct number of Offering values per Deal ID using Distinct count
DISTINCTCOUNT function (DAX) - DAX | Microsoft Learn

You could use all except to filter out the unrequired data in this scenario.
ALLEXCEPT function (DAX) - DAX | Microsoft Learn



Next, use a Power BI table visual to display the Deal ID alongside this new measure. Apply a visual-level filter to highlight only those records where the Offering Count Per Deal is greater than 1.

vnmadadimsft_0-1752933708777.png

 


This approach effectively reveals all Deal IDs that have conflicting or multiple offerings due to inconsistencies between the two systems.

 

I hope this information helps. Please do let us know if you have any further queries.
Thank you

View solution in original post

3 REPLIES 3
v-nmadadi-msft
Community Support
Community Support

Hi @ARatz  ,
Thanks for reaching out to the Microsoft fabric community forum.

To identify all Deal IDs that appear more than once in a Power BI visual due to mismatched Offering values across two different fact tables, you can create a unified structure that allows for easy comparison. You can create a new DAX table that combines the Deal ID and Offering columns from both fact tables using the UNION function. This table consolidates all Offering entries tied to each Deal ID from both sources.
UNION (DAX) FUNCTION - DAX | Microsoft Learn

Combine multiple tables with UNION / UNION ALL in ... - Microsoft Fabric Community

Once this combined table is created, define a DAX measure that counts the distinct number of Offering values per Deal ID using Distinct count
DISTINCTCOUNT function (DAX) - DAX | Microsoft Learn

You could use all except to filter out the unrequired data in this scenario.
ALLEXCEPT function (DAX) - DAX | Microsoft Learn



Next, use a Power BI table visual to display the Deal ID alongside this new measure. Apply a visual-level filter to highlight only those records where the Offering Count Per Deal is greater than 1.

vnmadadimsft_0-1752933708777.png

 


This approach effectively reveals all Deal IDs that have conflicting or multiple offerings due to inconsistencies between the two systems.

 

I hope this information helps. Please do let us know if you have any further queries.
Thank you

ARatz
New Member

H Tom

 

Thx for your quick response. Since these are customer data I cannot share the pbix. does it help when i share you the data model?

 

 

acc161a1-5bba-4638-b181-4149ef8843c2.png

 

TomMartens
Super User
Super User

Hey @ARatz ,

 

please create a pbix that contains sample data but still reflects the semantic model.
Upload the pbix to OneDrive, Google Drive, or Dropbox and share the link to the file.

Regards,
Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors