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
Sabo256w
Frequent Visitor

Return values based on % with DAX

Hi All, 

 

I'm having an issue I can't solve. 

 

I have a table with Clients and Revenue

 

CLIENTSREV.png

 

 

 

 

 

 

I have a simple measure that calculates 80% of the Total Revenue

    0.8 * [Revenue]
 
I want to return only the top clients that are within the 80% of the revenue (e.g the top clients that make up 2000 - Top being based on the revenue) 
1 ACCEPTED SOLUTION
johnt75
Super User
Super User
2 REPLIES 2
Sabo256w
Frequent Visitor

Thanks! This took me down a rabbit hole of exploring and I found this that solved my issue: TopPercent in DAX – Unplugged #8 - SQLBI

johnt75
Super User
Super User

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.