Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

Using a Column calculated in data segmentation that shows duplicated values

Hi!

 

Appreciate any help  with this situation

I made a Calculate Colum using:

 

FULL_CLIENT_NAME =

     IF(
           FACT_MCI[ID_CLIENT] = "OMNIB",
            LOOKUPVALUE(DIM_Encar[CLIENT_Name],DIM_Encarg[Client_Account],FACT_MCI[Client_Account]),
        FACT_MCI[Client_Name])

// I use this because a group of clients have to be Reported in one Dashboards as a "Omnib" and in another Dashboard has to show the real client's name

 

I used this Calculated Column FULL_CLIENT_NAME as a Data Segmentation and Tables, yesterday was fine and works showing a unique name but today its start to duplicate de Values (seems to be  gruoped by the day of income was made - but couldnt fix o "disable" this)
 
 
Aslo if I use the Colum FACT_MCI[Client_Name] (on the Data Segmenter o Tables) it does´t grouped like the image showed above
 

 

Any what can I do to fix it?

 

Thanks in advance!

 

  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi Anonymous ,

     

    You can create a table and use the FULL_CLIENT_NAME field of this Table 2 as a slicer.

    Table 2 = VALUES('Table'[FULL_CLIENT_NAME])

     

    If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.

     

    Best Regards,

    Neeko Tang

    If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

     

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Anonymous ,

     

    You can create a table and use the FULL_CLIENT_NAME field of this Table 2 as a slicer.

    Table 2 = VALUES('Table'[FULL_CLIENT_NAME])

     

    If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.

     

    Best Regards,

    Neeko Tang

    If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly.