The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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.
User | Count |
---|---|
86 | |
84 | |
35 | |
35 | |
34 |
User | Count |
---|---|
94 | |
79 | |
63 | |
55 | |
52 |