cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

how to use datediff in a story table column

xyz31
Explorer
0 Kudos
135

Hi,

I need to show a column as number of months between start date and end date dimension in my story table. For that purpose I tried creating a calculated dimension where I wanted to use datediff but it gives me the below error.

ShubhangiAgarwal_1-1727077397781.png

 

ShubhangiAgarwal_0-1727077372264.png
I even added a property to the dimensions but it still shows error. 

ShubhangiAgarwal_2-1727077466028.png

Any solution for this?

PS: My story is model based

Thanks in advance

 

Accepted Solutions (0)

Answers (1)

Answers (1)

GiriRaaj
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Team,

 

as per your referenced image 1 : "Type" drop down box - you have an option for "Date Difference" .

please select that - and then provide appropriate from and to fields. this will get you the result in a calculated measure.

Hope this helps.

Let me know , if you face difficulty on this.

regards

Giri