Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
I have a calculation error
but expected result should be 4271791.66 * 1.2 = 5,126,149.992 but my Target Quantity Company (Yearly) gives me 2641923.67.
please correct me
thanks
Solved! Go to Solution.
Looks like you made a mistake in your DAX. Try
Target Quantity Company (Yearly) =
VAR a = CALCULATE([Same Month Previous Year Quantity], SAMEPERIODLASTYEAR(BMCalendar[Date]))
RETURN
IF(ISBLANK(a), [Same Month Previous Year Quantity] * 1.2, a * 1.2)
its k i correct it
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 33 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 90 | |
| 81 | |
| 66 | |
| 65 |