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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.