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
nataliesmiy1357
Helper IV
Helper IV

Divide columns

I need a bit help with a percentage!

 

I have a column with the formula: 

No Read Count = CALCULATE(COUNTA(Passing_History[Pallet_Name]), Passing_History[Pallet_Name] = "No Data")
 
I also have a column called Pallet_Name that has each rows name - I have a card that I count these in.
 
I need to create a formula of:
No Read Count / Total Number of Pallets
 
But I need this formula to modify with the date filter.  
 
How do I do this?
 
1 ACCEPTED SOLUTION
bhanu_gautam
Super User
Super User

@nataliesmiy1357 , First create a measure

Create the "No Read Count" measure:

No Read Count = CALCULATE(COUNTA(Passing_History[Pallet_Name]), Passing_History[Pallet_Name] = "No Data")

 

Then Create one more

Total Number of Pallets = COUNTA(Passing_History[Pallet_Name])

 

Create one for percentage 

No Read Percentage = DIVIDE([No Read Count], [Total Number of Pallets], 0)

 

All the measures created above will automatically respect any date filters applied in your Power BI report, as long as the date filter is applied to the same table or related tables.

 




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






View solution in original post

3 REPLIES 3
bhanu_gautam
Super User
Super User

@nataliesmiy1357 , First create a measure

Create the "No Read Count" measure:

No Read Count = CALCULATE(COUNTA(Passing_History[Pallet_Name]), Passing_History[Pallet_Name] = "No Data")

 

Then Create one more

Total Number of Pallets = COUNTA(Passing_History[Pallet_Name])

 

Create one for percentage 

No Read Percentage = DIVIDE([No Read Count], [Total Number of Pallets], 0)

 

All the measures created above will automatically respect any date filters applied in your Power BI report, as long as the date filter is applied to the same table or related tables.

 




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






Thank you!  Looks like those counts for No Read Count and Total Number of Pallets work, but the Percentage didn't....

 

nataliesmiy1357_0-1729779334578.png

 

@nataliesmiy1357 Replace "/" with "," in your DIVIDE measure

 

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard

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!

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.

December 2024

A Year in Review - December 2024

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