Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Working with duplicate records

I have data of the given format

 

batchrecordspayment methodcountryregionpay description
130AmexUSAmericascard invalid
130AmexUSAmericascard limit exceeded
130AmexUSAmericascard invalid
130AmexUSAmericascard invalid
260MastercardJPASIAInsufficient balance
260MastercardJPASIAinvalid zipcode
260MastercardGBEMEAcard expired
380VISAGBEMEAcard expired
380VISAGBEMEAcard expired

 

i am trying to present records values in unique format in power BI. to show distribution and trend.

but when i rollup it gets summarized.

Has anyone seen this before and can provide a solution

  • Hi, Anonymous 

     

    Due to the characteristics of powerbi, if there is exactly the same data between rows, it will be automatically omitted in visual and only one row will be displayed. If you want to distinguish them, the easiest way is to add an index column in PQ.

    Like this:

    If it doesn't solve your problem, Please feel free to ask me.

     

    Best Regards

    Janey Guo

     

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

2 Replies

  • In any visual when you these column

    batch records payment method country region

     

    you will get unique data

     

    or you can create meusre like

    measure = countx(summarize(Table, [batch],[records],[payment method],[country region]), [Batch])

     

    or can create table summarize(Table, [batch],[records],[payment method],[country region], "Max" , max([pay description])),

  • v-janeyg-msft's avatar
    v-janeyg-msft
    Icon for Community Support rankCommunity Support

    Hi, Anonymous 

     

    Due to the characteristics of powerbi, if there is exactly the same data between rows, it will be automatically omitted in visual and only one row will be displayed. If you want to distinguish them, the easiest way is to add an index column in PQ.

    Like this:

    If it doesn't solve your problem, Please feel free to ask me.

     

    Best Regards

    Janey Guo

     

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