cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Gionedis
Regular Visitor

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 II
Resolver II

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 II
Resolver II

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
September Update

Check it Out!

Click here to learn more about the September 2022 updates!

Power BI Show Episode 10 Recap

The Power BI Community Show

Watch the playback when Amit Chandak, a Power BI Super User, demos how to use Field Parameters to make reports more dynamic.

Power BI Dev Camp Session 26

New Date - Check it Out!

Mark your calendars and join us on Thursday, October 6 at 11a PDT for a great session with Ted Pattison!

Health and Life Sciences Power BI User Group

Health and Life Sciences Power BI User Group

Power BI specialists at Microsoft have created a community user group where customers in the provider, payor, pharma, health solutions, and life science industries can collaborate.

Top Solution Authors
Top Kudoed Authors