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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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