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

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

Reply
Anonymous
Not applicable

Extract status on specific time

Hi all,

 

I have created a dummy-file to make it easier to understand and help with the question.

The link to the file: https://www.dropbox.com/s/91dpxrh3umwuv12/Course%20dummy-file.pbix?dl=0

 

A bit in general about the data: We have data on completed events, the date on which these events were carried out and which participant from the membership register has taken part. We also have data that gives us information about the members. These members have different statuses, such as ordinary, silver, gold and Vip.

 

The problem is: When I want to see which participants that have taken part in an event and their status at that time of the course, the member is displayed several times if they have had different statuses. If you’re for example look at the members Arild Johnsen and Axel Roling they have both participated on the Excel Course. Arild had a Vip membership at the time when the course occurred, and Axel had a silver membership at the time the course occurred. Arild is displayed two times because he has had two different memberships and Axel is displayed three times because he has had three different memberships.

 

In the course overview I do not want their names to list several times and I only want to see Arild and Axels memberships at the time when the event was carried out.

 

 

 

 

 

 

 

1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

Hi @Anonymous 
Please refer to attached file with the solution

1.png

Current Membership = 
CALCULATE (
    SELECTEDVALUE ( 'Members'[Membership] ),
    'Members'[From_date] <= MAX ( Course[Date] ), 
    'Members'[To_date] >= MAX ( Course[Date] )
)

View solution in original post

2 REPLIES 2
tamerj1
Super User
Super User

Hi @Anonymous 
Please refer to attached file with the solution

1.png

Current Membership = 
CALCULATE (
    SELECTEDVALUE ( 'Members'[Membership] ),
    'Members'[From_date] <= MAX ( Course[Date] ), 
    'Members'[To_date] >= MAX ( Course[Date] )
)
Anonymous
Not applicable

Thank you so much @tamerj1 ! 🙂

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.