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

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
Hoai_Khang1205
New Member

DAX

Hey, does any one know how to make a DAX calculation like this pic right here?. Thank you very much. Given dataset has code_id and places

Hoai_Khang1205_0-1664377143874.png

 

3 REPLIES 3
Arul
Super User
Super User

@Hoai_Khang1205 ,

try this,

Formula = IF(OR(inv quarter t-1 = 0,inv quarter t = 0),0,inv quarter t-inv quarter t-1)

Thanks,





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

Proud to be a Super User!


LinkedIn


um. Im not sure if you understand my question correctly? but thanks btw. This is not the solution I need though.

Hi, @Hoai_Khang1205 

Not sure what you  want.

Can you explain what the formula means?

Best Regards,
Community Support Team _ Eason

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.