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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
RuiNDias
Frequent Visitor

Automatic grouping

Hi everybody! 🙂

 

Monthly, I need to extract 5 000 URL from Google Analytics, group them with pivot tables in Excel (as you can see below), and present charts in PPT. I spend a lot of hours doing this process, so I'm thinking to create a dashboard in Power BI. The URL are always the same, so groups are the same

 

I've done some webinars but didn't found any solution to my problem. There is an automatic process for grouping this URL, before loading the data in Power BI?
I thought about creating two columns and fill them with the groups. But I don't know how to make this process automatic.

Can you help me, please?

 

 

Untitled-1.png

 

 

 

1 ACCEPTED SOLUTION
mwegener
Most Valuable Professional
Most Valuable Professional

Hi @RuiNDias ,

 

you will have to do the transformation in Power Query. There are various options here.

Look at this..

https://radacad.com/conditional-column-in-power-bi-using-power-query-you-can-do-anything

 

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


View solution in original post

3 REPLIES 3
mwegener
Most Valuable Professional
Most Valuable Professional

Hi @RuiNDias ,

 

you will have to do the transformation in Power Query. There are various options here.

Look at this..

https://radacad.com/conditional-column-in-power-bi-using-power-query-you-can-do-anything

 

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


Thank you @mwegener !

But, in that case, I will need to define the conditions each time I load data in Power BI.
It is possible to save the conditions for future uses?

mwegener
Most Valuable Professional
Most Valuable Professional

Hi @RuiNDias 

 

No, Power Query save the conditions and use it each time you load (refresh) the data in Power BI.

 

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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