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.
Hello Experts,
I have created YTD calculation, but the result is not coming as expected. It is not showing any values.
Can anyone help me by looking from the file attached.
https://www.dropbox.com/s/dvh41vo45igf94v/F1%20-%20Test.pbix?dl=0
Thanks in Advance.
Solved! Go to Solution.
Hi @vally57 ,
Please try:
GC YTD Current Year Actual = TOTALYTD(SUM('Fact Finance General Ledger'[GC Debit Credit Amount]),'Fiscal Period'[Calendar Date])
Final output:
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
What if I only have YYYY without the YYYY-MM-DD. Can it still get YTD?
Hi @vally57 ,
Please try:
GC YTD Prior Year Actual = CALCULATE(SUM('Fact Finance General Ledger'[GC Credit Amount]),FILTER(ALL('Fiscal Period'),'Fiscal Period'[Fiscal Year]=MAX('Fiscal Period'[Fiscal Year])-1))
Output:
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @vally57 ,
Please try:
GC YTD Current Year Actual = TOTALYTD(SUM('Fact Finance General Ledger'[GC Debit Credit Amount]),'Fiscal Period'[Calendar Date])
Final output:
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks @v-jianboli-msft . It is working now.
I tried to create prior year for the same
User | Count |
---|---|
20 | |
8 | |
7 | |
7 | |
6 |
User | Count |
---|---|
29 | |
12 | |
11 | |
9 | |
8 |