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
Good Afternoon PBI users,
I am looking to convert this query into a dax code:
SELECT sum(cost)
FROM TBL1
INNER JOIN TBL2 ON TBL1.ID= TBL2.ID
WHERE TBL1.Date1 BETWEEN '10/01/2022' AND '12/31/2022'
AND TBL2.Date2 BETWEEN '10/01/2022' AND '12/31/2022'
In PBI there I have a Table(containing these two dates), both connected to a Date table. I want to take the 'sum of Cost' and make sure my date "slicer" is filtering for both dates. This is what I thought of but it is not quite right. PLEASE HELP!!!
TEST =
Solved! Go to Solution.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 37 | |
| 35 | |
| 35 | |
| 28 |
| User | Count |
|---|---|
| 134 | |
| 101 | |
| 71 | |
| 67 | |
| 65 |