Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago

Reuse filter expressions ?

Hello, 

I am building a dashboard where I want to show daily/weekly/monthly KPis based on a date selection.

Is there a way to reuse filter expressions I build for a measure in other ones? I have several measures (amount, quantity, target...) that should be filtered the same way.

I would want to be able to have something like

Weekly sales = Calculate([Sales measure],[Weekly filter expression])

Weekly sales target=Calculate([Target measure],[Weekly filter expression])

 

To facilitate the maintenance and update of my DAX expressions.

 

Is there  a way to do this?

 

No Replies