Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi
I would very much like to have a static temporary table in my measure , where I could do something like this
Solved! Go to Solution.
Try this measure:
myFooBarMeasure =
VAR theTempTable =
DATATABLE (
"country", STRING,
"factor", DOUBLE,
{
{ "SE", 0.15 },
{ "NO", 0.15 },
{ "DK", 30.0 },
{ "FI", 0.18 }
}
)
VAR theTempTableRow =
FILTER ( theTempTable, [country] = SELECTEDVALUE ( Position[Country] ) )
RETURN
MAXX ( theTempTableRow, [factor] )
Proud to be a Super User!
Try this measure:
myFooBarMeasure =
VAR theTempTable =
DATATABLE (
"country", STRING,
"factor", DOUBLE,
{
{ "SE", 0.15 },
{ "NO", 0.15 },
{ "DK", 30.0 },
{ "FI", 0.18 }
}
)
VAR theTempTableRow =
FILTER ( theTempTable, [country] = SELECTEDVALUE ( Position[Country] ) )
RETURN
MAXX ( theTempTableRow, [factor] )
Proud to be a Super User!
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.