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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount 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.