Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
I read on the Userelationship info page that I can use TotalYTD dax with it. However, whenever I try to do this I am getting blank data results.
My code is below:
TOTALYTD( SUM('FactSales'[Sales]), 'DatesFilter'[Date].[Date], USERELATIONSHIP ( 'DIMCalendar'[Date], 'DatesFilter'[Date] ) )
Solved! Go to Solution.
I got it to work. I removed the .date from the first datesfilter filter.
No idea why that worked
TOTALYTD( SUM('FactSales'[Sales]), 'DatesFilter'[Date], USERELATIONSHIP ( 'DIMCalendar'[Date], 'DatesFilter'[Date] ) )
I got it to work. I removed the .date from the first datesfilter filter.
No idea why that worked
TOTALYTD( SUM('FactSales'[Sales]), 'DatesFilter'[Date], USERELATIONSHIP ( 'DIMCalendar'[Date], 'DatesFilter'[Date] ) )
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
110 | |
109 | |
108 | |
93 | |
61 |
User | Count |
---|---|
171 | |
139 | |
133 | |
103 | |
86 |