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

Show, if day is in the absent-period

Dear Power BI Community,

 

I am searching for a solution for the following problem:

I have a 3 tables: 1 calender table, 1 tabel with absent times (column "period") and 1 with the worked hours per person

 

I would like to show now the following: if i create a table-visual showing every single date e.g. of a month (filtered via the "filter" visual in the Dashboard), i want to know if a persion (also filtered via "filter" visual) was in the "office" that day or "absent".

 

In my head that's an easy if-clause, but my knowledge and everthing i googled so far is not helping me in solving the problem.

Somehow, Power BI does not know if this specific day is within the period. 

 

Can sb help me with that?

If you need more details, pls let me know.

 

Thanks a lot in advance for your help!

 

Kind regards,

Stef

 

2 REPLIES 2
Anonymous
Not applicable

Dear  @amitchandak,

i can't upload my sample file.

 

Table working hours/units

IndexWorked UnitsService Date
123401.12.2020
123502.12.2020

Tabel Absent

IndexperiodCalenderdays of period
12303.12.2020 - 04.12.20203
34511.11.2020 - 17.11.20207

Wished result table:

DateIndexWorking UnitsAbsent? (Measure)
02.12.20201235No
04.12.2020

123

 03.12.2020-04.12.2020

 

Hope this is helping...

 

Kind regards

 

amitchandak
Super User
Super User

@Anonymous ,Can you share sample data and sample output in table format?

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.

Top Solution Authors