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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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