Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hallo
My goal is to show in a timeline how many persons who are active in a given time period (month) (one source of data) AND have received payments (another source of data).
I manage to calculate the active persons in the time period by using:
Active = CALCULATE(COUNTROWS('Kontaktforløb'); FILTER('Kontaktforløb'; ('Kontaktforløb'[Første hele måned] <= LASTDATE(Kalender[Datekey]) && 'Kontaktforløb'[Sidste hele måned]>= FIRSTDATE(Kalender[Datekey]))))
From here.
Result:
But how can I put on an extra filter from a another tabel?
My humble guess (not working):
Active with payment = CALCULATE(COUNTROWS('Kontaktforløb');FILTER('Kontaktforløb'; ('Kontaktforløb'[Første hele måned] <= LASTDATE(Kalender[Datekey]) && 'Kontaktforløb'[Sidste hele måned]>= FIRSTDATE(Kalender[Datekey]))) && LOOKUPVALUE('DREAM-Branche'[Branche];'DREAM-Branche'[FørsteIMåneden];'Kontaktforløb'[Første hele måned];'DREAM-Branche'[cpr_nr];'Kontaktforløb'[CPR FORMAT])<>BLANK())
Hi @ChrisSschmucekr,
You can try to create measure or create relationship beetween these tables.
In second case: 1 - create slicer like: "payment received - yes, no".
2 - use visual/report level filter and there indicate people who received payments.
User | Count |
---|---|
98 | |
90 | |
82 | |
73 | |
67 |
User | Count |
---|---|
115 | |
102 | |
98 | |
71 | |
67 |