Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
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ês