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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
Anonymous
Not applicable

Percentage measure from other measure

Hi Community,

I have a distinct measure to pull back unique users but I need to create another measure that uses this value and provides me with the distinct value as a percentage of 25,000. It will always be 25,000

Current measure that works fine

 

 

UniqueFlowUsers = COUNTROWS(DISTINCT(Flows[Owner]))

 

 


Any help would be much appreciated

Thanks,
CT 

1 ACCEPTED SOLUTION
edhans
Super User
Super User

New Measure = DIVIDE([UniqueFlowUsers],25000,0)


Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

View solution in original post

3 REPLIES 3
edhans
Super User
Super User

New Measure = DIVIDE([UniqueFlowUsers],25000,0)


Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting
Anonymous
Not applicable

Hi @edhans , that worked. Thank you!

Great. The final ,0 really isn't necessary in this case. It is the alternate answer if the denominator is 0 so you don't get an error, but in your particular case, the denominator is hardcoded at 25,000, so it will never happen in this measure, but it is good practice to get in the habbit of supplying the alternate answer for other measures.



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

Check out the April 2025 Power BI update to learn about new features.

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

Find out what's new and trending in the Fabric community.