Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
alexfheels
New Member

Show the current month amount for the total year, while showing 0 for future months

Hello community - I have an 'accruals original' column that shows a sum of accruals for the whole year. I then created a 'accruals' column that is showing accruals up to the current month, and is showing the current month accruals for future months, including the Total.

 

I need a new equation that will show the accruals, except that i need to show 0 for all future months (between 6-12) but i still need to show the Total of 68M.  screenshot below.

 

I would really appreciate help, as i've been doing in circles for a couple of hours!

accruals.png

 

Thanks,

Alex

1 REPLY 1
Nathaniel_C
Super User
Super User

Hi @alexfheels ,

Wrap an IF() around what you have, and make the condition IF (MONTH(MAX(table[column))>=MONTH(TODAY()),0,Your measure).
Let me know if you have any questions.

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors