Forum Discussion
Anonymous
4 years agoNot applicable
DAX FUNCTIONS
Hello everyone! I need a help with some Dax Fuction. I have some collums with the name of people, start date and end date and with this I need to show the people will be available immedietaly, ...
- 4 years ago
Hi,
I am not sure if I understood your question correctly, but I tried to create a sample pbix file like below.
Please check the below picture and the attached pbix file.
I hope the below can provide some ideas on how to create a solution for your dataset.
Available name measure: = VAR _occupiedlist = SUMMARIZE ( FILTER ( Data, Data[End date] >= MIN ( 'Calendar'[Date] ) && Data[Start date] <= MAX ( 'Calendar'[Date] ) ), Data[Name] ) VAR _otherlist = EXCEPT ( ALL ( Data[Name] ), _occupiedlist ) RETURN CONCATENATEX ( _otherlist, Data[Name], ", " )
Jihwan_Kim
4 years agoSuper User
Hi,
I am not sure if I understood your question correctly, but I tried to create a sample pbix file like below.
Please check the below picture and the attached pbix file.
I hope the below can provide some ideas on how to create a solution for your dataset.
Available name measure: =
VAR _occupiedlist =
SUMMARIZE (
FILTER (
Data,
Data[End date] >= MIN ( 'Calendar'[Date] )
&& Data[Start date] <= MAX ( 'Calendar'[Date] )
),
Data[Name]
)
VAR _otherlist =
EXCEPT ( ALL ( Data[Name] ), _occupiedlist )
RETURN
CONCATENATEX ( _otherlist, Data[Name], ", " )