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.
I have a table with Saleamount and saledate, I also have a date table with dates
I have added relationshipbetween date table and sales table and using this query
previousMonth = CALCULATED(SUM(Sales[Saleamount]), PreviousMonth(Date[Date])))
but this query is not populating anything!!!
Sales table is also related to customer table and customer table is related to another dates table called dates1
I was not able to link sales table to dates1 as I had a relation with customer already...
can anyone tell what the problem is?
Solved! Go to Solution.
Hi @Anonymous,
Do you mean when you added the measure [previousMonth] to visual, it shew no results? Please make sure you added [Date] column into visual from calendar table 'Date' rather than 'Sales'.
Regards,
Yuliana Gu
Hi @Anonymous,
Do you mean when you added the measure [previousMonth] to visual, it shew no results? Please make sure you added [Date] column into visual from calendar table 'Date' rather than 'Sales'.
Regards,
Yuliana Gu
Its working now, I missed that.
Thank You!
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 |
---|---|
111 | |
100 | |
80 | |
64 | |
58 |
User | Count |
---|---|
146 | |
110 | |
93 | |
84 | |
67 |