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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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