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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Memorable Member
Memorable Member

@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
Community Champion
Community Champion

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
Memorable Member
Memorable Member

@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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.