Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi Everyone!
I want to add a column to a table via power query with something analogous to a WHERE clause.
Here's a simplified version of what I'm trying to do:
Take the [TASK] from the 'Schedule' Table Where [INCLUDE] = 1
Add the activities into my 'Fact Table' which looks like this
To yield my 'Goal' table which should ideally look like this
Thank you SO MUCH for your continued assistance!
Solved! Go to Solution.
One way to do this would be to add a custom column (all values = 1) to the Fact Table and then do a merge matching columns DATE, NAME, and Custom with DATE, ASIGNEE, and INCLUDE.
The other way would be to merge Fact Table with Schedule after filtering the latter for INCLUDE = 1.
One way to do this would be to add a custom column (all values = 1) to the Fact Table and then do a merge matching columns DATE, NAME, and Custom with DATE, ASIGNEE, and INCLUDE.
The other way would be to merge Fact Table with Schedule after filtering the latter for INCLUDE = 1.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 39 | |
| 37 | |
| 29 | |
| 24 |
| User | Count |
|---|---|
| 120 | |
| 95 | |
| 70 | |
| 69 | |
| 65 |