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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not 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, and in a week, month, 2 months, 3 months in a card format. 

1 ACCEPTED SOLUTION
Jihwan_Kim
Super User
Super 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.

 

Jihwan_Kim_0-1662193755731.png

 

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], ", " )

 


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

View solution in original post

2 REPLIES 2
v-cazheng-msft
Community Support
Community Support

Hi @Anonymous,

 

Not very clear about your needs. May I know whether you still have problem after trying the solution from Jihwan_Kim? If so, please make your needs clearer. Thanks in advance!

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please let me know. Thanks a lot!

 

Best Regards,

Community Support Team _ Caiyun

Jihwan_Kim
Super User
Super 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.

 

Jihwan_Kim_0-1662193755731.png

 

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], ", " )

 


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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