Forum Discussion
Return a text value
- Anonymous2 years ago
Hi NumeritasMartin ,
Please update the formula of your measure [Sector] as below and check if it can return your expected result...
Sector = VAR SelectedAsset = SELECTEDVALUE ( 'Values'[Asset] ) RETURN IF ( ISFILTERED ( 'Values'[Asset] ) && NOT ( ISBLANK ( SelectedAsset ) ), CONCATENATEX ( FILTER ( 'Values', 'Values'[Asset] = SelectedAsset ), 'Values'[Profile] ), BLANK () )If the above one can't help you get the expected result, please provide some raw data in your table 'Values' (exclude sensitive data) with Text format and your expected result. It would be helpful to find out the solution. You can refer the following link to share the required info:
How to provide sample data in the Power BI Forum
And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards
Hi NumeritasMartin ,
Please update the formula of your measure [Sector] as below and check if it can return your expected result...
Sector =
VAR SelectedAsset =
SELECTEDVALUE ( 'Values'[Asset] )
RETURN
IF (
ISFILTERED ( 'Values'[Asset] ) && NOT ( ISBLANK ( SelectedAsset ) ),
CONCATENATEX (
FILTER ( 'Values', 'Values'[Asset] = SelectedAsset ),
'Values'[Profile]
),
BLANK ()
)
If the above one can't help you get the expected result, please provide some raw data in your table 'Values' (exclude sensitive data) with Text format and your expected result. It would be helpful to find out the solution. You can refer the following link to share the required info:
How to provide sample data in the Power BI Forum
And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards