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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
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.

Top Solution Authors