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.
Hello all
I'm trying build a visual where i can see the total sales for each selected period.
Total Sales (date1) = SUM (Sales)
Total Sales (date2 = CALCULATE ([Total Sales], USERELATIONSHIP( Date2[date], Sales[Date]))
Do you need to use also REMOVEFILTERS or KEEPFILTERS in each measure for the other date table?
I've tried and it's not working and don't know how to try those.
Can you help?
Thanks a lot
Solved! Go to Solution.
Hi,
Try using CROSSFILTER or INTERSECT:
https://docs.microsoft.com/fi-fi/dax/crossfilter-function
https://docs.microsoft.com/fi-fi/dax/intersect-function-dax
Proud to be a Super User!
Hi,
Try using CROSSFILTER or INTERSECT:
https://docs.microsoft.com/fi-fi/dax/crossfilter-function
https://docs.microsoft.com/fi-fi/dax/intersect-function-dax
Proud to be a Super User!
Thank you very much!!!!
User | Count |
---|---|
13 | |
8 | |
6 | |
6 | |
5 |
User | Count |
---|---|
24 | |
14 | |
13 | |
8 | |
8 |