Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi
please help on below requirements
my sample data
Sl no Role Region
1 G1 Aus
1 G2 Aus
1 G1 Aus
2 G1 Ind
2 G1 Ind
3 G1 US
3 G2 US
3 G3 US
3 G4 US
3 G1 US
4 G1 NZ
4 G1 NZ
Requirements
1. Want to find the Count of Sl No whose role is G1,without moving to other role,
Answer 2 ,(Sl no 2 & 4 , Sl no 1 & 3 starts in G1 and ends in G1 , but go through other roles)
2. want to get an output like this
Sl no hop
1 2
2 1
3 4
4 1
hop defines number of roles assigned to each Sl no (for Sl no 1 , G1 & G2 entries are available , like this
Solved! Go to Solution.
Here are some expressions for your measures:
If this works for you, please mark it as the solution. Kudos are appreciated too. Please let me know if not.
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Here are some expressions for your measures:
If this works for you, please mark it as the solution. Kudos are appreciated too. Please let me know if not.
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |