Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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.
Solved! Go to Solution.
Hi @Anonymous
Please refer to attached file with the solution
Current Membership =
CALCULATE (
SELECTEDVALUE ( 'Members'[Membership] ),
'Members'[From_date] <= MAX ( Course[Date] ),
'Members'[To_date] >= MAX ( Course[Date] )
)
User | Count |
---|---|
22 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
13 | |
11 | |
9 | |
6 |