The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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: