The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi,
I am trying to count the max "date of service" against a relative time period such as today-14. Below is my current code but I keep getting an error stating the true/false has to specify one column, but I'm only using one column. Any ideas?
Solved! Go to Solution.
@LeahS , Try using
DAX
CALCULATE(
COUNT(transactions[date_of_service]),
FILTER(
transactions,
transactions[date_of_service] <= (TODAY() - 14)
)
)
Proud to be a Super User! |
|
Hi @LeahS,
we would like to follow up to see if the solution provided by the super user resolved your issue. Please let us know if you need any further assistance.
If our super user response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.
Regards,
Vinay Pabbu
Hi @LeahS,
we would like to follow up to see if the solution provided by the super user resolved your issue. Please let us know if you need any further assistance.
If our super user response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.
Regards,
Vinay Pabbu
Hi @LeahS,
we would like to follow up to see if the solution provided by the super user resolved your issue. Please let us know if you need any further assistance.
If our super user response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.
Regards,
Vinay Pabbu
@LeahS , Try using
DAX
CALCULATE(
COUNT(transactions[date_of_service]),
FILTER(
transactions,
transactions[date_of_service] <= (TODAY() - 14)
)
)
Proud to be a Super User! |
|