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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
united2win
Helper III
Helper III

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

 

 

1 ACCEPTED SOLUTION
v-piga-msft
Resident Rockstar
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.

Capture.PNG

Best  Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-piga-msft
Resident Rockstar
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.

Capture.PNG

Best  Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Fabric Monthly Update - May 2024

Check out the May 2024 Fabric update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.