Forum Discussion
VAR DAX Measure
May I take your help again.
I am creating a measure using var. The highlighted var _cash is not picking up in my calculation. I noticed that during calculation var _cash is being ignored. I dont know how to refer to it in my calcualtion.
Below is my DAX measure:
My Requirement is If Fin_Level2= “Deposits and Current Account” than Sum of market_value_in_usd per Customer_No for latest BusinessDate and create a band.
The banding as follows:
Can you please help me.
Many Thanks!
5 Replies
- amitchandak
Super User
Anonymous , Syntax seems fine. But try to push filter to Fin Level map table
Try like
Naturalinnerjoin(Holding), Calculatetable('Fin table Map', Fin_Level2= “Deposits and Current Account”) )
- AnonymousNot applicable
Hi Amit,
I am getting this error after applying your syntax.
- amitchandak
Super User
Anonymous , no need of a filter, we plan to use calculatetable as the second table
Var _fund = Naturalinnerjoin(Holding), Calculatetable('Fin table Map', Fin_Level2= “Deposits and Current Account”) )
- AnonymousNot applicable
Hi Amit Ji,
I am still facing some error.
- v-xiaotang
Community Support
Hi Anonymous
could you share your sample file & expected result? you can remove sensitive data and replace it with fake data. I'll modify your measure or recreate a new one later.
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.