cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
tejapowerbi123
Helper IV
Helper IV

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
1 ACCEPTED SOLUTION
nandic
Super User II
Super User II

@tejapowerbi123 ,

 

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

20200902 group by.PNG20200902 group by 2.PNG

View solution in original post

3 REPLIES 3
pranit828
Super User II
Super User II

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.




PBI_SuperUser_Rank@1x.png


Hope it resolves your issue? 
Did I answer your question? Mark my post as a solution!

Appreciate your Kudos, Press the thumbs up button!!
Linkedin Profile
nandic
Super User II
Super User II

@tejapowerbi123 ,

 

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

20200902 group by.PNG20200902 group by 2.PNG

View solution in original post

GilbertQ
Super User II
Super User II

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.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

July 2021 Update 768x460.png

Check it out!

Click here to read more about the July 2021 Updates

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Top Solution Authors
Top Kudoed Authors