This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is upgrading! Read all of the details including the timeline and what you can expect. Learn more
I need help with transforming a table that looks like this:
| Location | Threshold |
| Loc1 | High |
| Loc2 | Low |
| Loc3 | Medium |
| Loc4 | Low |
| Loc5 | Medium |
| Loc6 | High |
| Loc7 | Medium |
| Loc8 | Low |
| Loc9 | Low |
| Loc10 | Low |
to a table that looks like this:
| High | Medium | Low |
| Loc1 | Loc3 | Loc2 |
| Loc6 | Loc5 | Loc4 |
| Loc7 | Loc8 | |
| Loc9 | ||
| Loc10 |
I am wondering if this is possible in Query editor.
Thanks,
Swami
Solved! Go to Solution.
@rswami_4 Just use pivot table option under Transform tab via query editor. Choose values column as Location and under Advanced option 'Don't Aggregrate'.
@rswami_4 Just use pivot table option under Transform tab via query editor. Choose values column as Location and under Advanced option 'Don't Aggregrate'.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 24 | |
| 22 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 31 | |
| 26 | |
| 23 | |
| 20 | |
| 20 |