Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi all,
Im trying to build a messure refering to date column :
Solved! Go to Solution.
@oscabape . first one will only work if the date is in the context. I correct the second one, some issue with the parenthesis
calculate(divide(VSS110[Net Amount Mesure],2), filter(VSS110, VSS110[Report Date] = date(2019,02,11))) + calculate(VSS110[Net Amount Mesure], filter(VSS110, VSS110[Report Date] <> date(2019,02,11)))
@amitchandak Thanks a lot for this, the second formula works well and through back the right amount now. So thank you for this... I wasn't sure how to biuld the formula I did try calculate but I wasn't building it properly. Not sure why the first formula still not throughing the right amount, the data has not change.
Once again thanks a lot for your help! much appreciated!
O
@oscabape , Try like
measure = IF( max(VSS110[Report Date]) = date(2019,02,11),VSS110[Net Amount Mesure]/2,VSS110[Net Amount Mesure])
or try like
calculate(VSS110[Net Amount Mesure]/2, filter(VSS110,VSS110[Report Date]) = date(2019,02,11)) + calculate(VSS110[Net Amount Mesure], filter(VSS110,VSS110[Report Date]) <> date(2019,02,11))
@amitchandak Thanks a lot for your help, The first formula it is now been accpeted, but don't seem to be deviding the amounts on date 11/00/2019 by 2.... so I am getting the wrong amount. I have tried including the Divide function but doesn work eaither. Any thoughts how we can divide this amounts by two?
the second formula is not been accpeted as there is problem with the filter column.
Thanks!
@oscabape . first one will only work if the date is in the context. I correct the second one, some issue with the parenthesis
calculate(divide(VSS110[Net Amount Mesure],2), filter(VSS110, VSS110[Report Date] = date(2019,02,11))) + calculate(VSS110[Net Amount Mesure], filter(VSS110, VSS110[Report Date] <> date(2019,02,11)))
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 6 | |
| 5 | |
| 5 |
| User | Count |
|---|---|
| 24 | |
| 11 | |
| 9 | |
| 9 | |
| 8 |