Forum Discussion
PowerBITestingG
4 years agoResolver I
Dynamic Variable in Measure
Hi all, I have the following dax measure = Spend YTD classic =
VAR octoberstart1 = SWITCH(TRUE(),
[MaxOctoberStart]=10/03/2022,"10-03",
[MaxOctoberStart]=10/04/2021,"10-04","10-03")
return...
v-henryk-mstf
4 years agoCommunity Support
Hi PowerBITestingG ,
As vojtechsima said, are you able to provide test data, as no further testing can be done based on the formula you provided alone.
How to Get Your Question Answered Quickly - Microsoft Power BI Community
Looking forward to your reply.
Best Regards,
Henry
- PowerBITestingG4 years agoResolver I
Sadly, its not possible to use dynamic variables in YTD functions