Forum Discussion
DAX or Power Query
Hi, Anonymous ;
Try it.
L13W Requested Index =
VAR L13R = CALCULATE(SUM([total requested(cases) ]),DATESINPERIOD('Table'[file date ],
TODAY(),-91,DAY))
VAR L13A = CALCULATE(SUM([total sold(cases)]),DATESINPERIOD('Table'[file date ],
TODAY(),-91,DAY))
return
IFERROR(L13R/L13A,1.5)
The final show:
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Anonymous4 years agoNot applicable
Hello,
I have already tried using TODAY(), but it gives me a blank result in the coloumn.
- v-yalanwu-msft4 years agoCommunity Support
Hi, Anonymous ;
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.