Forum Discussion
Date Slicer using Calculated Column
Hey mussaenda ,
please be aware that this requirement can not be resolved using calculated columns, this is due to the following:
- calculated columns will only be "re-calculated" during data refresh
- the change of a slicer value will not issue a re-calculation of calculated columns
As the value of "Delay Days" depends on a slicer value, this can not be used to as an input for a calculated column.
Please describe in more detail why you need this as a calculated column.
My assumption: you want to use "Delay Days" as a slicer or axis.
You may consider to provide a pbix file that contains some sample data but still reflects your data model. Upload the pbix to onedrive or dropbox and share the link. If you use and xlsx file to create the sample data, do not forget to upload the xlsx as well.
Basically, this kind of requirements can be solved by creating a disconnected table that represents all the possible values of "Delay Days", and some little more complex measures that map for e.g. the "Doc-No" to this disconnected table.
Hopefully this provides some additional insights.
Regards,
Tom
- mussaenda6 years agoCommunity Champion
Hi TomMartens,
I understand your point. Thank you for explaining clearly.
I am getting frustrated here.
You are right, my plan was to use the delay days as filter.
here is the pbix link.
With a little explanation inside.
Thank you