Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Bakhtawar
Post Patron
Post Patron

dax points

any example of these point and brifly explanation please

 

  • We can use values of mixed data types as inputs in a DAX formula. Data type conversion will take place automatically during execution of the formula.

 

  • In some cases, DAX functions return a full table which can be used in other DAX formulas that need a complete set of values. However, you cannot display this table’s contents.
1 ACCEPTED SOLUTION
Anonymous
Not applicable

@Bakhtawar 

1. You cannot have mixed datatypes for one column. You can input mixed datatypes for different columns, for example if you enter 100, it will automatically display as Numerical type, if you have ABC, it becomes Text type, for 2020.4.24 it automatically show as Date type. These data types needs to be manually converted to others when your right dax formulas, you can do that by changing the datatype on the top menu OR using dax Format() function to convert.

 

2. Sometime you can create a virtual table to reduce pibx size, which is not displayed. 

Typical example is Summarize(), see: http://blog.extrobe.co.uk/blog/2016/11/26/creating-virtual-tables-in-power-bi-using-dax/

You can then use the virtual fields in the virtual table to create dax formulas.

 

Paul Zheng _ Community Support Team
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

@Bakhtawar 

1. You cannot have mixed datatypes for one column. You can input mixed datatypes for different columns, for example if you enter 100, it will automatically display as Numerical type, if you have ABC, it becomes Text type, for 2020.4.24 it automatically show as Date type. These data types needs to be manually converted to others when your right dax formulas, you can do that by changing the datatype on the top menu OR using dax Format() function to convert.

 

2. Sometime you can create a virtual table to reduce pibx size, which is not displayed. 

Typical example is Summarize(), see: http://blog.extrobe.co.uk/blog/2016/11/26/creating-virtual-tables-in-power-bi-using-dax/

You can then use the virtual fields in the virtual table to create dax formulas.

 

Paul Zheng _ Community Support Team
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
 

amitchandak
Super User
Super User

@Bakhtawar 

No, you can not have mixed data type. You need to make sure they are same.

We typically add & "" to make them as text.

 

There are many which return table can be a new table or a new var hold table in a measure.

Summarize , selectcolumns , union, distinct

 

New Table = Summarize (Table, Table[A], "B",sum(table[B])

 

New Measure=

var _tab = Summarize (Table, Table[A], "B",sum(table[B])

return

averagex(_tab,[B])

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors