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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
| Week Ending | Actual | Goal | Current Ratio % | Previous Ratio % |
| MM/DD/YYYY HH:MM | A | B | (Table[Actual]/Table[Goal])*100 | ((Table[Actual]/Table[Goal])*100)-7 ??? |
Hello,
I'm trying to display the Current Ratio % value and Previous Ratio % value simultaneously, by applying a filter onto column [Previous Ratio %].
The Current Ratio % is a new column with the calculations = (Table[Actual]/Table[Goal])*100
I also have a measure for previous week = previous_week_ending = DATEADD(Table[week_ending],-7,DAY)
So far I have tried:
and
but those didn't work due to syntax and dax errors.
Please help me out!
Solved! Go to Solution.
pls try this
Measure 2 = sumx(FILTER(all('Table'),'Table'[week ending]=max('Table'[week ending])-7),[Measure])
pls see the attachment below
Proud to be a Super User!
could you pls provide some sample data and the expected output?
Proud to be a Super User!
Hi @ryan_mayu
Here is sample data:
In a PBI table visualization, I want the last column [Previous Ratio %] to output the last week ending's [Current Ratio %].
pls try this
Measure 2 = sumx(FILTER(all('Table'),'Table'[week ending]=max('Table'[week ending])-7),[Measure])
pls see the attachment below
Proud to be a Super User!
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!