The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi Community.
We have a problem with the logic for an YTD calculation. We would like the YTD depending on if a Final value column is populated or not. If Final is not populated we want to use Provisional as the value for that row. These values comes from 2 different facts that have a relation to the same Calendar. As below.
Year Month | Final | Provisional | YTD |
Jan 2023 | 1 | 2 | 1 |
Feb 2023 | 2 | 3 | |
March 2023 | 4 | 3 | 7 |
April 2023 | 1 | 8 |
Thank you in advance for any help
Br/M
User | Count |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
20 | |
12 | |
10 | |
7 |