Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Belinskaya00
New Member

Time Intelligence Quick Measures Problem

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. 

 

Belinskaya00_0-1594129973348.png

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: 

"Time intelligence quick measures can only be grouped or filtered by the Power BI-provided date hierarchy or primary date column" 
 
I also tried to work around it and made a separate column with a month number and tried to add a Quick measure " Average per category" using the month number as category, but then it always returns the count of instances and not the price average...
 
thanks in advance! 
BR
Anastasia 

 

1 ACCEPTED SOLUTION
harshnathani
Community Champion
Community Champion

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])

 

Sales MTD = CALCULATE( [Total Sales], DATESMTD( Dates[Date] ) )
 
Also suggest you see this video

 

 


Regards,

Harsh Nathani


Appreciate with a Kudos!! (Click the Thumbs Up Button)

Did I answer your question? Mark my post as a solution!

 

 

View solution in original post

2 REPLIES 2
harshnathani
Community Champion
Community Champion

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])

 

Sales MTD = CALCULATE( [Total Sales], DATESMTD( Dates[Date] ) )
 
Also suggest you see this video

 

 


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:) 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.