Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!View all the Fabric Data Days sessions on demand. View schedule
Tweak ISINSCOPE to function within a Visual Title or the Axes. This would let users dynamically write a Title with something like
TitleText =
"Shipped Orders" &
SWITCH(TRUE()
, ISINSCOPE(Dates[Week]), " by Week Period"
, ISINSCOPE(Dates[Month]), " by Month Period"
, ISINSCOPE(Dates[Quarter]), " by Quarter Period"
, ISINSCOPE(Dates[Year]), " by Year Period"
)
or dynamically set the maximum axis value with something like
AxesMaxVal =
var MaxBarHeight =
SWITCH(TRUE()
, ISINSCOPE(Dates[Week]), MAXX(ALLSELECTED(Dates[Year], Dates[Quarter], Dates[Month], Dates[Week]), [Total Orders])
, ISINSCOPE(Dates[Month]), MAXX(ALLSELECTED(Dates[Year], Dates[Quarter], Dates[Month]), [Total Orders])
, ISINSCOPE(Dates[Quarter]), MAXX(ALLSELECTED(Dates[Year], Dates[Quarter]), [Total Orders])
, ISINSCOPE(Dates[Year]), MAXX(ALLSELECTED(Dates[Year]), [Total Orders])
)
return
CEILING(1.4 * HeightUse, 100)
Both of these measures don't work right now because of the ISINSCOPE.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.