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
Solved! Go to Solution.
Hello - Solved it myself using this formula which seems to work perfectly at the quarter and month level.
If I put YTD on the visual, only the Q1 column shows the value...the other quarters show no value which is correct since we are in Q1. If I drill down to months, only Jan and Feb show their respective mtd values (since we are not in March yet).
Try
QTD Revenue = CALCULATE (
'Flu Shipped'[Total Shipped Value]-[MTS Gebroeders Deferral],FILTER('Master Customer List','Master Customer List'[Customer ID]<>"C-04646"
&& 'Master Customer List'[Customer ID]<>"C-05165" && 'Master Customer List'[Customer ID]<>"C-04821"),
,DateTable[DatesWithShipments] = TRUE
DATESQTD ( 'DateTable'[Date] )
)
Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution.
In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blogs -Decoding Direct Query - Time Intelligence, Winner Coloring on MAP, HR Analytics, Power BI Working with Non-Standard TimeAnd Comparing Data Across Date Ranges
Connect on Linkedin
Hello - Solved it myself using this formula which seems to work perfectly at the quarter and month level.
If I put YTD on the visual, only the Q1 column shows the value...the other quarters show no value which is correct since we are in Q1. If I drill down to months, only Jan and Feb show their respective mtd values (since we are not in March yet).
I adjusted the formula a little as the syntax was showing an error.
But the QTD value (for Q1) is still showing up for all of the quarters in my visual. It should only, at this point in the year, be showing Q1.
Hi Amit - I get an error (red line) on this part:
DatesQTD ( 'DateTable'[Date] ) )
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
125 | |
84 | |
67 | |
54 | |
43 |
User | Count |
---|---|
203 | |
106 | |
98 | |
65 | |
56 |