Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi all,
With calculation group, how should we write DAX or setup for time intelligence analysis using multiple dates table (e.g. sales date, purchase date, inventory date)
For example (YTD Calculation) :CALCULATE(SELECTEDMEASURE(), DATESYTD(DimDate[Date]))
Can DimDate[Date]) be dynamic? What is the most efficient solution?
Thanks for your suggestion.
HI @crossboy,
Time intelligence functions required a calendar table with active relationships.
If you want to use date fields form other tables to interact with current measure formula, you need to confirm they existed active relationships.
If you can't confirm the relationship mapping, I'd like to suggest you change to use date functions that allow you manually defined and filtered on the table that your formula calculated.
Time Intelligence "The Hard Way" (TITHW)
Regards,
Xiaoxin Sheng
@crossboy , Check if,you can create inactive relation in the tabular edition. In Power BI we create multiple relations with date table and dates in fact and use userelation to activate them.
Example
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 |
|---|---|
| 48 | |
| 45 | |
| 41 | |
| 20 | |
| 18 |
| User | Count |
|---|---|
| 69 | |
| 64 | |
| 32 | |
| 31 | |
| 27 |