Forum Discussion

Dellis81's avatar
Dellis81
Post Prodigy
5 years ago
Solved

Assigning Measure to an URL

Hello

 

I'm attempting to create dynamic report navigation (to a PBI service URL).  Based on the results of a Switch statement - would like to navigate to appropropriate report/page.

As I select within the matrix - this measure is returning the correct URL (have a card showing the measure result)

EnabledDrillThru Report = 
Var SelectedDivision = selectedvalue(Divisions[Division],"yy")
Var SelectedDrillDownProdYr = SELECTEDVALUE(TADConsolidated[DrillDown ProdYr Report],"xx")
Var SwitchReport = SWITCH(true,
and(SelectedDivision="Products",SelectedDrillDownProdYr="xx"),[Products CropSummary URL],
and(SelectedDivision="Products",SelectedDrillDownProdYr<>"xx"),[Products MultiCropYr URL]
)
Return
SwitchReport

 

However, I have noticed the Data Category drop down options exclude the "web url" option

Both of the URL measures used inside this dynamic measure works as expected.   Also - within the shape navigation measure selection - unable to select.

I think the first step is to get this to allow web url classification.

I am also going thru the "Data model' access - using the chaining concept allowed back in December.

 

Is there a solution to allow this measure to be classified as Web URL?

thanks

 

 

  • Dellis81 , I can see data type as decimal, This should be text in the case of url. Change that to text and try 

2 Replies

  • Dellis81 , I can see data type as decimal, This should be text in the case of url. Change that to text and try 

    • Dellis81's avatar
      Dellis81
      Post Prodigy

      Bingo - thank you for quick response!!!!!