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
zoomclub
Regular Visitor

Calculating the % Value of 2 counted and filtered measures

Hi,
 
I have a table where I have:
 
A column called : company_name (where I store all the registered companies)
A column called : status (where you can have ACTIVE, INACTIVE, OTHER)
 
And another table where I have:
A column called : product_name (where I store all the orders of products)
A column called : status (where you can have ACTIVE, INACTIVE, OTHER)
 
What I want to do is:
1) Count all the companies which have the status: ACTIVE
2) Count all the products which have the status: ACTIVE
3) Calculate the Conversion, which means for me dividing the product count / company count and return a % value 
 
What I did is (which is probably not right) - I created 2 filtered measures in order to be able to create another measure making the divide but still i get only a number not a %.
 
Please help me
 
 
1 ACCEPTED SOLUTION
Nathaniel_C
Super User
Super User

Hi @zoomclub ,
Have your measure in the formula bar,go to the modeling tab, change the format to percentage. I would also suggest you use DIVIDE().
Let me know if you have any questions.

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel

format%.PNG

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

2 REPLIES 2
Nathaniel_C
Super User
Super User

Hi @zoomclub ,
Have your measure in the formula bar,go to the modeling tab, change the format to percentage. I would also suggest you use DIVIDE().
Let me know if you have any questions.

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel

format%.PNG

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




amitchandak
Super User
Super User

Can you share the formula you created and issue you are getting

Helpful resources

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