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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
is it possible to display the data types of columns in a visual?
Googling only gives me tips on data types....
Thanks
Solved! Go to Solution.
Hi @Anonymous
Please see below DAX expression that can test a few data types.
Measure =
VAR _var = "text" -- TRUE(), "text", 123
RETURN
SWITCH(
TRUE(),
ISLOGICAL( _var ), "True\False",
ISTEXT( _var ), "Text",
ISNUMBER( _var ), "Number"
)
Unfortunately could not find any function to test date/time or if the number is whole, fixed or decimal.
Hi @Anonymous
Please see below DAX expression that can test a few data types.
Measure =
VAR _var = "text" -- TRUE(), "text", 123
RETURN
SWITCH(
TRUE(),
ISLOGICAL( _var ), "True\False",
ISTEXT( _var ), "Text",
ISNUMBER( _var ), "Number"
)
Unfortunately could not find any function to test date/time or if the number is whole, fixed or decimal.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!