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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
chasedq
Frequent Visitor

Cubes (SSAS) Date Filters and PowerBI

Hello,

 

Our company is starting to use cubes a lot and one of the issues is date filtering. When we connect to the cube in SSAS the date field seems to be treated as string and not an actual field, thus losing the innate date filtering functionality (is on or before, is before, etc.)

 

After a bit of research, I was able to change the properties of the date attribute in the dimension by updating ValueColumn to Date datatype. Update Value Column.JPG

 

Now I have two fields that come up in the list of attributes for the Date Dimension, one for Date (string) and one for Date.Value (date datatype). Date Dim Attributes with new DateValue attribute.JPGNeedless to say, the Date.Value attribute shows the innate date filtering functions.

 

I just wanted to ask if this is by design? Is there a way to keep that just one date field but look at the ValueColumn instead of now having two fields? Is there another way to manage this?

 

Thank you!

 

 

10 REPLIES 10
Anonymous
Not applicable

Hi @chasedq,

 

I am trying to add a trendline to a bar-chart where the x-axis is Months (Apr, May, Jun,..). And I am unable to do so. I came across your post and found it helpful. How did you change the properties of the date attribute? Where do you go to get to this 

 

           Update Value Column.JPG

 

I am new Power BI user. And I am not sure how to get here.

 

Thanks!!

LanceDelano
Microsoft Employee
Microsoft Employee

Is the actual key of the Date dimension a different field?   A common approach to these types of tables it to use an integer column and then things like the "Date" field are there but aren't actually used for the FK relationships. 

 

And, where did you change the data type?  In the source, data view, query view, etc.?

Lance

Yes, the actual key is a surrogate key called DateDimID. Good suggestion, I'll try this out and get back to you.

 

The datatype was already a datetime field from the source so I didn't really change the datatype per se, just the properties of the dimensions.

what is the solution to this issue.

I have also been having this issue (only saw this post now), using date.value seems to solve most of my issues around date functionality, does seem a bit silly though that this does this, so i dont think it needs a solution but it does just create unnecessary complexity, unless someone can explain why this is happening?





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Hi did you find any solutions to this. Dont want 2 fields. Any way to hide one field

chasedq
Frequent Visitor

Just thought I'd bump this up a bit 🙂

Happy Friday. Just another quick bump.

Vicky_Song
Impactful Individual
Impactful Individual

@chasedq, this issue can be reproduced on my side. I will report it internally to ask senior engineers for help. I will post back once I got any updates.

Thank you @Vicky_Song.

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.

Top Solution Authors
Top Kudoed Authors