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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register 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

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

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.