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! It's time to submit your entry. Live now!
Hi All,
I have Column which has muliple Values
| Option Type | Date1 | Date 2 |
| Option1, Option2, Option3 | 10/02/2022 | 12/02/2022 |
| Option1, Option3 | 15/01/2022 | 16/01/2022 |
| Option2 | 18/01/2022 | 30/01/2022 |
| Option1 | 12/01/2022 | 30/01/2022 |
I need to create report with a Slicer of Unique Values
| Type | Count | Average Days (Days1 to Days2) |
| Option 1 | 3 | 3 |
| Option 2 | 2 | 4 |
| Option 3 | 2 | 5 |
I need to able to summarize the table, like Average Days between Days1 and Days2, Count of Rows etc.
Is there a way where i can achieve this?
Solved! Go to Solution.
Hi @AshwinC ,
Believe the best option is to make a transformation on the query editor and split those options by row:
This will allow to have the final result directly on your table.
If this is not possible then you can try to do the following:
CountRows =
COUNTROWS (
FILTER (
ADDCOLUMNS (
'Table (2)',
"StringFind", CONTAINSSTRING ( 'Table (2)'[Option Type], SELECTEDVALUE ( Options[Options] ) )
),
[StringFind] <> BLANK ()
)
)
Regarding the second value you present how is it calculated?
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @AshwinC ,
Believe the best option is to make a transformation on the query editor and split those options by row:
This will allow to have the final result directly on your table.
If this is not possible then you can try to do the following:
CountRows =
COUNTROWS (
FILTER (
ADDCOLUMNS (
'Table (2)',
"StringFind", CONTAINSSTRING ( 'Table (2)'[Option Type], SELECTEDVALUE ( Options[Options] ) )
),
[StringFind] <> BLANK ()
)
)
Regarding the second value you present how is it calculated?
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsThe Power BI Data Visualization World Championships is back! It's time to submit your entry.
| User | Count |
|---|---|
| 50 | |
| 41 | |
| 31 | |
| 26 | |
| 24 |
| User | Count |
|---|---|
| 131 | |
| 118 | |
| 58 | |
| 45 | |
| 43 |