March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I have a table of registrations and a table of viewers. I would try to add them as a relationship but because of how the data is stored and the number of webinars, registrations, and viewers, I can't get it to work. So I'm wondering if I can find a way this way. (Tables simplified)
Registration:
Webinar | |
georgeburns@gb.com | How to tie shoes |
bobhope@bh.com | How to tie shoes |
jackbenny@jb.com | How to tie ties |
donrickles@dr.com | How to tie ties |
Viewers:
Watch start | Watch end | Webinar | |
georgeburns@gb.com | 11:12 | 11:15 | How to tie shoes |
bobhope@bh.com | 11:10 | 11:20 | How to tie shoes |
Georgeburns@gb.com | 11:20 | 11:30 | How to tie shoes |
jackbenny@jb.com | 12:10 | 12:30 | how to tie ties |
What I want in the registration table:
Webinar | Watched | |
georgeburns@gb.com | How to tie shoes | Yes |
bobhope@bh.com | How to tie shoes | Yes |
jackbenny@jb.com | How to tie ties | Yes |
donrickles@dr.com | How to tie ties | No |
I think the idea would be:
For each row in the Registartions table:
Unless I'm missing something here?
Solved! Go to Solution.
Try adding this as a calculated column in your Registrations table.
Watched =
VAR _ViewCount =
CALCULATE (
COUNTROWS ( Viewers ),
TREATAS (
CALCULATETABLE (
SUMMARIZE ( Registrations, Registrations[Email], Registrations[Webinar] )
),
Viewers[Email],
Viewers[Webinar]
)
)
RETURN IF ( _ViewCount > 0, "Yes", "No" )
Try adding this as a calculated column in your Registrations table.
Watched =
VAR _ViewCount =
CALCULATE (
COUNTROWS ( Viewers ),
TREATAS (
CALCULATETABLE (
SUMMARIZE ( Registrations, Registrations[Email], Registrations[Webinar] )
),
Viewers[Email],
Viewers[Webinar]
)
)
RETURN IF ( _ViewCount > 0, "Yes", "No" )
New column Registration =
var _1 = Maxx(filter(Viewers, Viewers[Email] =Registration[email]), Viewers[Email])
return
if(isblank(_1), "No", "Yes")
When I try to do this, I can't add in the registration email in the filter, it only lets me add in values from the viewers table.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
115 | |
76 | |
57 | |
52 | |
44 |
User | Count |
---|---|
164 | |
116 | |
63 | |
57 | |
50 |