Forum Discussion

pickslides's avatar
pickslides
Helper I
4 years ago

Crosstab in a New Measure

Hi, very new to Power BI, but enjoying it so far. 

 

I have an education dataset and want to track the occurances of students being late to class. Fields are:

Day (Monday to Fri)

Session (Text - morning, afternoon, evening) 

Absense Type (Text - Late, Absent, etc)

Absent Mins (Integer)

Date 

 

 

I want to create a crosstab in Power BI, that counts records with the number of absent mins > 0 in a crosstab of Day and Session where Absent Type = "Late".  I woud like to use a slicer on Date. 

 

Can this be done in a New Measure? If not, how?

 

Thank you, 

 

Q

1 Reply