March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hello!
I have this data. With Mac Trans Date Column, I want to create a measure that is this Transdate is 1 and 1/2 yr older than a current date then " No Need to Request" elsa "".
Thank you so much!
Solved! Go to Solution.
Ok, you can intergrate calculate and filter function as follows:
SubAgreeCertRequest =
VAR CutoffDate = TODAY() - 548
RETURN
IF (
CALCULATE(
MAX(_Facts[TransDate]),
_Facts[GLName] = "Bank Account - USD",
_Facts[FH_CurrentYN] = "Yes",
_Facts[FH_Type] = "28 Legacy AS Transactions"
) <= CutoffDate,
"No Need to Request",
""
)
Try the above.
Proud to be a Super User! | |
Hi @juhoneyighot - you can use the following formula
Status Measure =
VAR CutoffDate = TODAY() - 548 -- Approx. 1.5 years in days (365.25 * 1.5)
RETURN
IF(
MAX('YourTable'[Mac Trans Date]) <= CutoffDate,
"No Need to Request",
""
)
use the above measure to your Power BI report.Place it in a table visual or any context where you want to see the result for each record.Ensure the Mac Trans Date column is properly formatted as a date column.
Proud to be a Super User! | |
@rajendraongole1
This is the correct Formula SubAgreeCertRequest =
VAR CutoffDate = TODAY() - 548
RETURN
IF (
MAX(_Facts[TransDate]) <= CutoffDate,
"No Need to Request",
""
)
But I have to Filter the following from _Facts table
_Facts[GLName] = "Bank Account - USD",
_Facts[FH_CurrentYN]="Yes",
_Facts[FH_Type]="28 Legacy AS Transactions"
how should I integrate this in the formula?
Ok, you can intergrate calculate and filter function as follows:
SubAgreeCertRequest =
VAR CutoffDate = TODAY() - 548
RETURN
IF (
CALCULATE(
MAX(_Facts[TransDate]),
_Facts[GLName] = "Bank Account - USD",
_Facts[FH_CurrentYN] = "Yes",
_Facts[FH_Type] = "28 Legacy AS Transactions"
) <= CutoffDate,
"No Need to Request",
""
)
Try the above.
Proud to be a Super User! | |
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
134 | |
90 | |
90 | |
64 | |
58 |
User | Count |
---|---|
201 | |
137 | |
107 | |
70 | |
68 |