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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
MisiakPol
Frequent Visitor

Grouping Values from two tables based on a condition

Hello,

I'm trying to make a calculation that somehow group small values together by giving them a different name.

MisiakPol_0-1665406259623.png

 

Let's say that the data here is taken from two tables. [User] from 'Users' table and Document Count is basically a distinct count of [DocumentID] from 'Orders' table.

Is it possible to make a calculation that will replace the names of users with a document count < 1 and sum them together? Or maybe DAX isn't the best solution for that? I need that function to be dynamic as I will apply various filters to this page.

 

Thank you in advance,

1 ACCEPTED SOLUTION
johnt75
Super User
Super User

SQLBI have an excellent article on TOPN and others which I think will help.

View solution in original post

2 REPLIES 2
johnt75
Super User
Super User

SQLBI have an excellent article on TOPN and others which I think will help.

Thank you for the article @johnt75 , I red it and it will for sure be a solution to my problem!

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.