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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
November Fabric Update Carousel

Fabric Monthly Update - November 2025

Check out the November 2025 Fabric update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Users online (25)