Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hello everyone!
I am new to Power BI, but desperately trying to figure it out.
I have a problem with Time Intelligence Quick Measures.
I have a set of data, which contains dates and prices for each date. The data type of the date column is "Date" as you can see below, formatted as a european date. Important: dates are not full, the ones with no price are excluded.
When i try to make a quick measure "month-to-date-total" using my price (which is a decimal number type) as a base value and my date as a date, i get the following error in the code:
Solved! Go to Solution.
Hi @Belinskaya00 ,
You will need a Calendar Table.
Check this link to create a Calendar Table
https://www.sqlbi.com/articles/creating-a-simple-date-table-in-dax/
You can then create 2 measure .
Total Sales = SUM(Table[Sales])
Regards,
Harsh Nathani
Appreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!
Hi @Belinskaya00 ,
You will need a Calendar Table.
Check this link to create a Calendar Table
https://www.sqlbi.com/articles/creating-a-simple-date-table-in-dax/
You can then create 2 measure .
Total Sales = SUM(Table[Sales])
Regards,
Harsh Nathani
Appreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!
Hello! Thank you, i think it helped:)