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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.