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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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/ 

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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.