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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
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.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.