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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

Calculated Measure percent of total

Hello community, 

 

This may be easy, but I do not know how to create a calculcated measure to get the percentage of 'Transported' from my Transported Boolean column.

 

I would like to have a graph where I can show the % transported, as below, but not show the percentage not transported. In the end I would like to have a bar chart showing the % transported, and a line showing the total number of transports per month. This is what I have so far: 

ruesaintdenis_0-1605591140016.png

 

My data looks like this: 

Incident NumberDateTransported Boolean
ANov 2019Transported
BNov 2019Not Transported
CNov 2019Transported
DDec 2019Transported
EDec 2019Not Transported
FDec 2019Transported

 

I really appreciate any and all help with this! 

 

Kind regards, 

 

Denisse

3 REPLIES 3
Fowmy
Super User
Super User

@Anonymous 

The formula I shared will work to give you the count if you slice it by incident number as well. It is a matter of how you visualize it, try to put on a matrix and check.

________________________

If my answer was helpful, please consider Accept it as the solution to help the other members find it

Click on the Thumbs-Up icon if you like this reply 🙂

YouTube  LinkedIn

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Fowmy
Super User
Super User

@Anonymous 

Add the following two measures, you can use a line and clustered column chart  visualize

% Transported = 
DIVIDE(
    CALCULATE(
        COUNTROWS(Table5),
        Table5[Transported Boolean] = "Transported"
    ),
    COUNTROWS(Table5)
)

 

Transported Count = 
    CALCULATE(
        COUNTROWS(Table5),
        Table5[Transported Boolean] = "Transported"
    )

________________________

If my answer was helpful, please consider Accept it as the solution to help the other members find it

Click on the Thumbs-Up icon if you like this reply 🙂

YouTube  LinkedIn

 

 

 

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Anonymous
Not applicable

@Fowmy Hello, 

 

Thank you for this, it is working well. Would you know how to add the factor of my incident number sometimes having duplicates? The count of transports is slightly higher, and I would like it to count the number of transports for each distinct incident number. 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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