Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Hi,
I have the following YTD calculations:
Solved! Go to Solution.
Hi @Anonymous
Can you not add the two measures you have?
Have you tried with || , since you want both:
YTD_inbound_lines_in_time_OR_early =
TOTALYTD (
COUNT ( Purchasing_data[OTD 0d] ),
Date_table[Date],
Purchasing_data[OTD 0d] IN { "On Time", "Early" }
)But this measure should provide the same result as adding the two you already have. Each item can be either "On Time" or "Early", right?
Hi @Anonymous,
Could you please mark the proper answers as solutions?
Best Regards,
Hi @Anonymous
Can you not add the two measures you have?
Have you tried with || , since you want both:
YTD_inbound_lines_in_time_OR_early =
TOTALYTD (
COUNT ( Purchasing_data[OTD 0d] ),
Date_table[Date],
Purchasing_data[OTD 0d] IN { "On Time", "Early" }
)But this measure should provide the same result as adding the two you already have. Each item can be either "On Time" or "Early", right?
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 23 | |
| 23 | |
| 21 | |
| 17 | |
| 14 |
| User | Count |
|---|---|
| 58 | |
| 50 | |
| 37 | |
| 29 | |
| 24 |