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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.