Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowFabric Data Days Monthly is back. Join us on March 26th for two expert-led sessions on 1) Getting Started with Fabric IQ and 2) Mapping & Spacial Analytics in Fabric. Register now
It would be really useful if every Visual came with an ID and that in Dax there was a function which could pull current ID of the visual it runs in.
Within the formatting of the visual would be It's ID number automatically generated. Then there would a function say VisualID() with following format: -
VisualID(ID of visual)
This could then be used to allow if\switch statements to execute based on visual they are in. This would allow Measures to be created for example which change the title of a visual, without the need for multiple measures. (Or creating a table just to differentiate between each visual.) See code below as an example: -
Switch( True,
VisualID = 1, "Active Tickets",
VisualID = 2, "Closed Tickets",
VisualID = 3, "On Hold Tickets",
)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.