Forum Discussion

tejapowerbi123's avatar
6 years ago
Solved

Need help to data Clean

Hello Community,

Can you please review below and provide your suggestion? I am not sure how to deal with below requirements.

Thanks

RAW DATA
IDProvinceBudget
AOntario 
A 2000
A  
B  
BNova Scotia 
B  
B 1500
CAlberta2000



Final Result
IDProvinceBudget
AOntario2000
BNova Scotia1500
CAlberta2000
  • tejapowerbi123 ,

     

    Try using Group By option inside Power Query.
    Select column ID > choose Group by option > add these rules:

3 Replies

  • nandic's avatar
    nandic
    Resident Rockstar

    tejapowerbi123 ,

     

    Try using Group By option inside Power Query.
    Select column ID > choose Group by option > add these rules:

  • Hi there

    What you can do is in Power Query to filter out rows they are blank.

    Then when you bring this data into your dataset, it will automatically filter out blank values.

    When you put this into a table it will display your final result.
  • Anonymous's avatar
    Anonymous
    Not applicable

    HI tejapowerbi123 

    If you need the result in a visual.

    Create two measures

    _province = MAX([province]
    _budget = MAX([budget]

    and ID in the columns section of metrix

    annd above created function in values.