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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors