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 All,
Can any one help me to split the data into rows without affecting the total Numbers.
why i need the UDN into rows because I need to create a row level security based on the UDN to give them the respective data access.
Let me know is there any better way of doing it.
The below are just the data samples.
Solved! Go to Solution.
If you'd like this result, please refer to @Mariusz 's pbix.
If you'd like this, please refer to table "new1" and page2 in my pbix
Before spit columns into rows, add an exdex column,
then Create measures
single_value =
VAR count_ =
CALCULATE (
COUNT ( new1[UDN] ),
FILTER ( ALLSELECTED ( new1 ), new1[Index] = MAX ( new1[Index] ) )
)
RETURN
SUM ( new1[VALUE] ) / count_
Measure 3 = IF(HASONEVALUE(new1[UDN]),SUM(new1[VALUE]),SUMX(ALLSELECTED(new1),[single_value]))
If you'd like this result, please refer to @Mariusz 's pbix.
If you'd like this, please refer to table "new1" and page2 in my pbix
Before spit columns into rows, add an exdex column,
then Create measures
single_value =
VAR count_ =
CALCULATE (
COUNT ( new1[UDN] ),
FILTER ( ALLSELECTED ( new1 ), new1[Index] = MAX ( new1[Index] ) )
)
RETURN
SUM ( new1[VALUE] ) / count_
Measure 3 = IF(HASONEVALUE(new1[UDN]),SUM(new1[VALUE]),SUMX(ALLSELECTED(new1),[single_value]))
You can Create a Bridge table that filters Original Table or Split the Values,
Please see both solutions on the attached file
Follow these steps:
Starting table:
Split column 1 by delimiter ",":
Highlight all column except for the value, then press Unpivot Columns:
Should give you the following result:
Hope it helps,
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 86 | |
| 85 | |
| 68 | |
| 64 |