Forum Discussion
Jtbonner1986
2 years agoHelper I
Today() function DAX unfiltering my visual table
Hi, I have a table in my report that summerises a runing stock total. I use a measure that find the lastest date which the stock levels fall below 0 - per material. This all works fine...
Anonymous
2 years agoNot applicable
Hi Jtbonner1986 ,
You can create a new measure.
Months Since First Neg Stock =
VAR CurrentDate = TODAY()
RETURN
IF (
NOT ISBLANK([Date Of First Neg Stock]),
DATEDIFF([Date Of First Neg Stock], CurrentDate, MONTH),
BLANK()
)
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. Thank you.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.