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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
PareshDalvi
Frequent Visitor

Create decomposition based on grouped data

Hi All,

 

I've AppInsights data that tracks users actions in an application. I would like to group the actions by sessionID and create a decomposition tree that shows how users interact with the application.

In following sample data, a user journey is shown. I would like to see, how many users went through this journey. 

e.g.

FirstAction -  User selected home,

Second Action - User ran script,

third action - Script returned Normal latency

and so on.....

 

PareshDalvi_0-1680269753776.png

 

1 REPLY 1
BA_Pete
Super User
Super User

Hi @PareshDalvi ,

 

If you only want to track a few actions, I would do the following:

 

Select [Events.Decomposition]. Go to Transform tab > Pivot Column. Select [Events.Timestamp] as your Values.

Rename your new columns to more friendly (shorter) names.

Apply to the model and create the following measure:

_noofActions = COUNTROWS(yourTableName)

 

Use this measure and each of your new columns to build the decomp chart.

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




Helpful resources

Announcements
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.