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 August 31st. Request your voucher.
Hey everybody!
How can I calculate the sum of a specific column in one table with a filter on this table and another one?
I have a table with this structure:
Date | Value | Status |
01.01.2020 | 5000 | AC |
01.01.2020 | 5000 | AG |
I would like to sum up all values for the last week that have a status "AC".
The second table is a individual calendar table with a week column.
How would you do that?
User | Count |
---|---|
27 | |
12 | |
8 | |
8 | |
5 |
User | Count |
---|---|
31 | |
15 | |
12 | |
7 | |
6 |