Forum Discussion
comments in power BI
Hi all,
I facing an issue in implementing comment in power BI.
Suppose , i have source table with comments by country.
In the Report , I need to have a textbox/ card having the comments which get filtered based on what country I choose, and if no selection is made then there should be a global comment by default.
best to create a New Measure which looks for a single value being returned once filtered.
ShowComment:=
IF (
HASONEVALUE ('TableName'[Comments] ),
VALUES ( 'TableName'[Comments]),
"Generic Comment"
)wasn't sure of your table name so that will just need replacing,
3 Replies
- Dog
Responsive Resident
best to create a New Measure which looks for a single value being returned once filtered.
ShowComment:=
IF (
HASONEVALUE ('TableName'[Comments] ),
VALUES ( 'TableName'[Comments]),
"Generic Comment"
)wasn't sure of your table name so that will just need replacing,