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
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! 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.