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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Transpose Data

Hello All! I have a question on how can i attain the report below. As you can see i have two tables: an appointment table and a date dimension table.
Working Day is a measure wherein it determines if a certain date falls on weekend or a weekday. Then, I get the sum of that field to get the total number of days work in a month. I played around the visuals but didnt get any luck.

 

 

PowerBi Question.PNG

 

PS: im a newbie in power bi

3 REPLIES 3
PietroFarias
Resolver II
Resolver II

It took me a long time to think about the title in question and your text. haha ha!! In case, you want the sum of the number of hours, is that it?

Anonymous
Not applicable

Actually this is what i want to achieve:

 

User                   Reason      Duration                      No. of Days Work

User1On-site Visit60 mins168 hrs
User1Sick Leave480 mins168 hrs

 

 

I used matrix however this what happens:

Reason  On-site Visit Sick Leave 
 DurationNo. of Days WorkDurationNo. of Days WorkDurationNo. of Days Work
User1  60 mins168480 mins 
       

 

 This is my setup in fields:

 

RowsUser
ColumnsReason
ValuesDuration
 No. of Days Work
Anonymous
Not applicable

Is this possible in power bi? Thank you so much!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.