Forum Discussion

united2win's avatar
united2win
Helper III
6 years ago
Solved

How do I get to this final table?

Hi

 

I have the below table which is a mix of the client / country / service required / and a Reg.status of service required when VAT Registration:

 

Name+Country ConcatenateService RequiredWFRegistrations.Status
1GDD Ltd-GermanyAnnual Return 
1GDD Ltd-Germany  
1GDD Ltd-GermanyVat RegistrationRegistered
1GDD Ltd-GermanyVAT Return 
2BECOMMERCE LIMITED-GermanyAnnual Return 
2BECOMMERCE LIMITED-Germany  
2BECOMMERCE LIMITED-GermanyVat RegistrationWork-In-Progress
2BECOMMERCE LIMITED-GermanyVAT Return 
3Kamido Katarzyna Szklanko-Pawlic-ItalyAnnual Return 
3Kamido Katarzyna Szklanko-Pawlic-FranceVat RegistrationRegistered
3Kamido Katarzyna Szklanko-Pawlic-ItalyVat RegistrationRegistered
3Kamido Katarzyna Szklanko-Pawlic-UnitedKingdomVat RegistrationRegistered

 

I want to create a new column of "Status of Booking" that somehow looks like below. Where it populates the registrations.status for all services required where a VAT Registration is found that matches the other "Name+Country Concatenate". 

 

Desired Table:   
Name+Country ConcatenateService RequiredWFRegistrations.StatusStatus of Booking
1GDD Ltd-GermanyAnnual Return Registered
1GDD Ltd-Germany  Registered
1GDD Ltd-GermanyVat RegistrationRegisteredRegistered
1GDD Ltd-GermanyVAT Return Registered
2BECOMMERCE LIMITED-GermanyAnnual Return Work-In-Progress
2BECOMMERCE LIMITED-Germany  Work-In-Progress
2BECOMMERCE LIMITED-GermanyVat RegistrationWork-In-ProgressWork-In-Progress
2BECOMMERCE LIMITED-GermanyVAT Return Work-In-Progress
3Kamido Katarzyna Szklanko-Pawlic-ItalyAnnual Return Registered
3Kamido Katarzyna Szklanko-Pawlic-FranceVat RegistrationRegisteredRegistered
3Kamido Katarzyna Szklanko-Pawlic-ItalyVat RegistrationRegisteredRegistered
3Kamido Katarzyna Szklanko-Pawlic-UnitedKingdomVat RegistrationRegisteredRegistered

 

Thank you

 

 

  • Hi united2win ,

    For your requirement, you could try the calculated column below.

    Column = CALCULATE(MAX('Table'[WFRegistrations.Status]),ALLEXCEPT('Table','Table'[Name+Country Concatenate]))

    Here is the output.

    Best  Regards,

    Cherry

1 Reply

  • v-piga-msft's avatar
    v-piga-msft
    Resident Rockstar

    Hi united2win ,

    For your requirement, you could try the calculated column below.

    Column = CALCULATE(MAX('Table'[WFRegistrations.Status]),ALLEXCEPT('Table','Table'[Name+Country Concatenate]))

    Here is the output.

    Best  Regards,

    Cherry