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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
tmendoza
Helper III
Helper III

Why Does This Not Work? And How can I get It to Work? FILTER Command

CALCULATE(SUM(Table1[Amount]), FILTER(ALL(Table1[Period], VALUE(Table1[Period]) = Table1[Period] -1)

 

However, This works:

 

CALCULATE(SUM(Table1[Amount]), FILTER(ALL(Table1[Period], VALUE(Table1[Period]) = Table1[Period] )

 

I'm trying to find the Amount of the previous period. Thus, the Table1[Period] -1

I believe the formula is compatible because the formula browser or what ever it is called is not yelling at me telling me the formula does not work (Yellow footer with reasoning why formula doesn't work). I hit the check mark and it accepts the formula, yet produces nothing.

0 REPLIES 0

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.