The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi,
my problem is that a measure is not working as I am combining information from two tables, where the fact that for some records one table does not have any entries, I can not find a way to properly account for these non-existent rows in my measure (which would be to assign a 0 for these cases).
I want to construct a measure, where two variables from different tables are subtracted from another, with both tables having the same ID variable.
My variables are: Table1[Sales] and Table2[Cancellations]
I want to calculate the difference (Sales-Cancellations) by ID, to extract whether the value is larger than 0.
However, I do not have all IDs in Table2, since not all IDs are having Cancellations.
When I now compute:
To report on things that are not there you need to use disconnected tables and/or crossjoins
User | Count |
---|---|
15 | |
12 | |
7 | |
6 | |
5 |
User | Count |
---|---|
24 | |
20 | |
12 | |
9 | |
7 |