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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
polman4
Helper I
Helper I

GA4 Connector - Stuck at evaluating when refresh

Hello,

 

I'm running the new version of google analytics connector that supports GA4.

 

I'm running the following code:

 

 

 

 

let
    Source = GoogleAnalytics.Accounts([Implementation="2.0"]), 
    #"accounts/504700" = Source{[Id="accounts/504700"]}[Data],
    #"properties/383621137" = #"accounts/504700"{[Id="properties/383621137"]}[Data],
    #"properties/1" = #"properties/383621137"{[Id="properties/383621137"]}[Data],
    #"Added Items" = Cube.Transform(#"properties/1",
        {
            {Cube.AddAndExpandDimensionColumn, "date", {"date"}, {"date"}},
            
            {Cube.AddAndExpandDimensionColumn, "customEvent:nextweb_c_author", {"customEvent:nextweb_c_author"}, {"nextweb_c_author"}},
            {Cube.AddAndExpandDimensionColumn, "customEvent:nextweb_c_kava", {"customEvent:nextweb_c_kava"}, {"nextweb_c_kava"}},
            {Cube.AddAndExpandDimensionColumn, "customEvent:nextweb_c_main", {"customEvent:nextweb_c_main"}, {"nextweb_c_main"}},           

            
            {Cube.AddAndExpandDimensionColumn, "customEvent:nextweb_c_pagesource", {"customEvent:nextweb_c_pagesource"}, {"nextweb_c_pagesource"}},
            {Cube.AddAndExpandDimensionColumn, "customEvent:nextweb_c_site", {"customEvent:nextweb_c_site"}, {"nextweb_c_mnextweb_c_site"}},
            {Cube.AddAndExpandDimensionColumn, "customEvent:nextweb_c_sub", {"customEvent:nextweb_c_sub"}, {"nextweb_c_sub"}},
            
            {Cube.AddMeasureColumn, "screenPageViews", "screenPageViews"},
            {Cube.AddMeasureColumn, "eventCount", "eventCount"}
        }),
    #"Filtered Rows" = Table.SelectRows(#"Added Items", each [date] > #date(2023, 7, 3)),
    #"Filtered Rows1" = Table.SelectRows(#"Filtered Rows", each ([nextweb_c_pageuid] <> "" and [nextweb_c_pageuid] <> "(not set)"))
in
    #"Filtered Rows1"

 

 

 

 

The problem is that when i add the following line:

 

 

 

 

{Cube.AddAndExpandDimensionColumn, "customEvent:nextweb_c_pageuid", {"customEvent:nextweb_c_pageuid"}, {"nextweb_c_pageuid"}},

 

 

 

 

and i try to refresh it always gets stuck at "Evaluating"

 

polman4_0-1689505560938.png

 

The above custom dimension just has numbers in it. Nothing special.

 

Any help would be appreciated.

 

Kind regards,

Grigoris

 
4 REPLIES 4
LukeHe
Regular Visitor

This forum helpful as ever. Last post over a year ago. No useful info on why this is happening and how to stop it happening:

LukeHe_1-1722588072827.png

 

Stakeholders don't care that you're forced to watch a never ending spinny wheel. They just want their dashboard. 

polman4
Helper I
Helper I

I also tried to run a very simple query but it gets stuck also.

 

 

    #"Added Items" = Cube.Transform(#"properties/1",
        {
            {Cube.AddAndExpandDimensionColumn, "customEvent:nextweb_c_pageuid", {"customEvent:nextweb_c_pageuid"}, {"nextweb_c_pageuid"}},
            {Cube.AddMeasureColumn, "eventCount", "eventCount"}
        }),
    #"Filtered Rows1" = Table.SelectRows(#"Added Items", each ([nextweb_c_pageuid] <> "" and [nextweb_c_pageuid] <> "(not set)"))
in
    #"Filtered Rows1"

 

polman4
Helper I
Helper I

The longest i have waited is 15 hours! Still evaluating and no change 😞

lbendlin
Super User
Super User

Define "always gets stuck" - how long have you been willing to wait for that metadata refresh phase to complete?

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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.