Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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:)
User | Count |
---|---|
23 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
12 | |
11 | |
7 | |
6 |