Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi, hope someone will help me
How do I get dates from main table to sales table? There is relationship betweent these two tables on Order column, orders can repeat in main table.
I need to have dates in sales table too because amounts are in different currencies and exchange rate formula will not work without date.
I tried TREATAS but have problem with date format.
Hi @Janka1712 .
You said there are repeat orders in main table. does that mean there are multiple dates for one order in main table?
Consider there are 3 dates for order 001 in main table, which date shoud be used for order 001 in sales table?
If i misunderstood your meaning, please share some sample data to us.
Best Regards,
Jay
You should be able to use RELATED(DimDate[Date]) or month, week, etc to get whatever info you need into the Orders table. This is only necessary if doing a Column or row context measure. Otherwise, the relationship should work as long as it is ACTIVE?
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
I want a column. Relationship is active, many to many. That was first thing I tried, doesnt work. It is telling me this:
The column 'SSBI[TRIPNAME]' either doesn't exist or doesn't have a relationship to any table available in the current context.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |