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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Gionedis
Helper I
Helper I

Column with flag if customer reached certain Value

Hello,

 

i need two calculated columns with flags if the customer reached:

 

Over 30 days in overdue in 6 months on book (MOB)

Over 90 days in overdue in 12 months on book (MOB).

 

The data:

Gionedis_0-1660140449432.png

 

In the example, this contract reached 35 on MOB 5, so the flag_6mob_ever30 is 1, but on the 12 MOB, he never reached 90 since the beginning, so the flag_12mob_ever90 is 0.

 

Thanks in advance.

1 ACCEPTED SOLUTION
PurpleGate
Resolver III
Resolver III

Something like this?

 

PurpleGate_0-1660204319131.png

 

FLAG_6MOB = IF('Table'[OVERDUE]>30,1,0)
 fLAG_12MOB = IF('Table'[OVERDUE] > 90, 1, 0)

 

 

To make the physical flags:

Column = 'Table'[fLAG_12MOB]+'Table'[FLAG_6MOB]
 
PurpleGate_1-1660204455840.pngPurpleGate_2-1660204465798.png

 

 

View solution in original post

1 REPLY 1
PurpleGate
Resolver III
Resolver III

Something like this?

 

PurpleGate_0-1660204319131.png

 

FLAG_6MOB = IF('Table'[OVERDUE]>30,1,0)
 fLAG_12MOB = IF('Table'[OVERDUE] > 90, 1, 0)

 

 

To make the physical flags:

Column = 'Table'[fLAG_12MOB]+'Table'[FLAG_6MOB]
 
PurpleGate_1-1660204455840.pngPurpleGate_2-1660204465798.png

 

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 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.