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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
stuartm
New Member

Percentages

Hi,

 

I've been searching through the other examples but nothing is exactly like my example so I'm posting here.

 

This is my dataset:

 

Dataset.PNG

I'm trying to create a cross-tab of date by absence rate : ('Hours Lost'/'Total Time Available'). Drill-able on absence unit.

 

Table.PNG

 

Q's

 

1. Is this possible?

2. If so how can this be done?

 

Thanks

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @stuartm,

 

#1, Yes, it is possible.

 

#2, You can try to use below formula if it suitable for your scenario.

Measure =
CALCULATE (
    SUM ( Table[Hours Lost] ) / SUM ( Table[Total time Available] ),
    VALUES ( Table[Date] ),
    VALUES ( Table[Category Column] )
)

Notice: Please use your category column to replace bold part.

 

Regards,

Xiaoxin Sheng

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @stuartm,

 

#1, Yes, it is possible.

 

#2, You can try to use below formula if it suitable for your scenario.

Measure =
CALCULATE (
    SUM ( Table[Hours Lost] ) / SUM ( Table[Total time Available] ),
    VALUES ( Table[Date] ),
    VALUES ( Table[Category Column] )
)

Notice: Please use your category column to replace bold part.

 

Regards,

Xiaoxin Sheng

xie xie nin. wo shi yi shi.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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.