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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric 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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.