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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Anonymous
Not applicable

dax for percentage

hi i am looking for dax
i have 2 measures 1 to count the request ids another to show the mtd count of request ids
i want to show the percentage of the 2 measures.
mtd count of request id = 24
count of request ids = 872
percentage  wil  be 24/872= 2.75%
how can i show by dax

1 ACCEPTED SOLUTION
jdbuchanan71
Super User
Super User

 

@Anonymous  try this

percentage = DIVIDE ( [mtd count of request id], [count of request ids] )

 

View solution in original post

4 REPLIES 4
v-cazheng-msft
Community Support
Community Support

Hi @Anonymous 

Is your problem solved? If you still have question, please share some sample data without sensitive data. If you have solved it, could you please share your solution?

 

Best Regards

Caiyun Zheng

 

jdbuchanan71
Super User
Super User

@Anonymous 

Not really enough information to find the problem.  Please show the values that come from the individual measures [MTD requestid] and [Count of request id], just add them to the visual next to the [r] measyure. What is the formulas for the two measure involved, what are the fields in the visual you are adding the measure to and how is your model layed out.

jdbuchanan71
Super User
Super User

 

@Anonymous  try this

percentage = DIVIDE ( [mtd count of request id], [count of request ids] )

 

Anonymous
Not applicable

hi jd
i had tried that query it is not working it is showing as 0%

greeshma_0-1619769204848.png

greeshma_1-1619769244204.png

 

 

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.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors