We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Sorry for the remedial question here--in the past I have been able to get the YTD function to work but tried it three different ways and can't seem to get it to work Below are some sample data and questions:
first calc: YTD Sales = TOTALYTD([Total Sales],dimDate[Date])
second: YTD Sales 2 = CALCULATE(SalesYTDTest[Total Sales],DATESYTD(dimDate[Date]))
third: YTD Sales 3 = CALCULATE(SUM(SalesYTDTest[Sales]),DATESYTD(dimDate[Date]))
Seems like one of these would work...anythoughts?
YTD Sales=
Your relationship is backward. DimDate should be on the one side, Fact table should be on the many.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 57 | |
| 38 | |
| 32 | |
| 18 | |
| 16 |
| User | Count |
|---|---|
| 66 | |
| 66 | |
| 40 | |
| 34 | |
| 25 |