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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
soodpy
New Member

need help in creating measure in power bi.

i have national sales data in excel, with RM name, date and products.

i want to create a card showing attachment rate (comparison of two products).

Like if there is a sale of 10 rail tickets as compare of 100 total tickets. Then it should show 10%.

All slicers should work as it is like slicer as per RM name, Date and location.

1 REPLY 1
jennratten
Super User
Super User

Hello @soodpy - this should get you started.  I have included a sample pbix which demonstrates the general DAX pattern to calculate percent of a total.  I have also included some helpful links below where you can go to learn more.

https://learn.microsoft.com/en-us/training/paths/model-data-power-bi/ 

https://learn.microsoft.com/en-us/training/paths/build-power-bi-visuals-reports/ 

If this post helps to answer your questions, please consider marking it as a solution so others can find it more quickly when faced with a similar challenge.

Proud to be a Microsoft Fabric Super User

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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