Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have 2 URLs as calculated fields in the META TABLE ,that are only needed to display in the report, and no calculation depends on them. Is there not a way to generate them on the fly when needed, as opposed to pre-calculating all of them as calculated fields?
FILE --> SAMPLE.pbix
Solved! Go to Solution.
You could make use of SELECTEDVALUE...
URL Measure =
VAR SelectedPath = SELECTEDVALUE ( META[Path] )
VAR SelectedAddition = "ad"
VAR Result =
IF ( NOT ISBLANK ( SelectedPath ) && NOT ISBLANK ( SelectedAddition), SelectedPath & SelectedAddition, BLANK () )
RETURN Result
Make sure the data category of the measure is set as URL:
You could make use of SELECTEDVALUE...
URL Measure =
VAR SelectedPath = SELECTEDVALUE ( META[Path] )
VAR SelectedAddition = "ad"
VAR Result =
IF ( NOT ISBLANK ( SelectedPath ) && NOT ISBLANK ( SelectedAddition), SelectedPath & SelectedAddition, BLANK () )
RETURN Result
Make sure the data category of the measure is set as URL: