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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply

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
Super User

@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
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.

nandic
Super User
Super User

@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

GilbertQ
Super User
Super User

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors