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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Changing date attributes

 

Hi,

 

I am trying to add a trend line to a bar chart. The x-axis is Months (Jan, Feb, Mar etc.). And I know can add a trend line to a column if it a number (not text). I came across the following Cubes (SSAS) Date Filters and PowerBI Post which was very helpful but I do not know where to go in order to change the properties of the date attributes. Any help would be much appreciated .

 

I do not know how to get here     Update Value Column.JPG.

 

Thanks

3 REPLIES 3
Anonymous
Not applicable

Hi @Anonymous,

 

>>but I do not know where to go in order to change the properties of the date attributes. 

If you mean sort by month, you can add key/value properties about 'year month', then use year month as sorting order.

 

Reference links:

Sorting month by natural sort order

 

Regards,

Xiaoxin Sheng

Anonymous
Not applicable

Hi Xiaoxin,

 

I am trying to add a trend line to a bar chart. But since the x-axis is Months (APR, MAY, JUN etc..) and it is in text format it will not let me add a trend line. I found on one of the post that if you change the properties of the date attribute then it will work. But I am not sure how to get to the properties sections. (Cubes (SSAS) Date Filters and PowerBI Post)

 

Thanks.

Anonymous
Not applicable

Hi @Anonymous,

 

Actually, I think it means setting column as key/value, use name properties to display name(text) and sort with stored value properties(key).

 

In addition, you can also post to SSAS related forum to know more about operate SSAS cube data model.

 

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.