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.
Hi,
I Have table (Leave Table ) that shows employer leave details in Dates FROM and TO, for this i need to build Measure
If worker is planning to go for leave for 5 Days ===> Planned Leave = 5,
if worker is on leave its been 3 days and coming back after 2 days ======> Taken Leave = 3 and Planned Leave =2,
If Worker has finished is leave then =======> Taken Leave = 5
So, I need 2 columns in Table planned Leave and Taken Leave basde on Current Date. @Greg_Deckler , @PaulDBrown
@amitchandak This is a Sample Data, Duration in Hours and Applied Leave is in Days Thanks for your Reply
@heygowtam , There can be a few ways, like
[Applied Leave] - Duration/24
or
[Applied Leave] - Duration/8
roundup can be used
[Applied Leave] - roundup(Duration/24,0)
or
[Applied Leave] - networkdays([from],[to],1)
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
@amitchandak Based on the above table, I need a Measure where i can use for Dashboard
I want Applied Leaves to be in Two Different Columns As Planned Leave or Taken Leave
one day = 7.6 hours
Hi, @heygowtam
Not very clear. Can you explain bit more?
Sample data and expected result will make it easier for us to understand and solve your problem.
Best Regards,
Community Support Team _ Eason
@heygowtam , Need to know the columns that are there in the table
Can you please share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
99 | |
82 | |
70 | |
61 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |