Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi guys,
Can you please help me with column cleaning. It has two data types ( int and text) and some blanks. I just want to keep them integers. Can you please help me writing Dax Querry.
Many Thanks, C
Column A |
12 |
10 |
20 |
A |
B |
C |
50 |
Solved! Go to Solution.
@Anonymous you can write a measure like this
Measure =
CALCULATE (
MAX ( 'Table 1'[Column A] ),
FILTER (
'Table 1',
IFERROR ( CONVERT ( 'Table 1'[Column A], INTEGER ), -999 )
= IFERROR ( 'Table 1'[Column A] * 1, 0 )
)
)
@Anonymous you can write a measure like this
Measure =
CALCULATE (
MAX ( 'Table 1'[Column A] ),
FILTER (
'Table 1',
IFERROR ( CONVERT ( 'Table 1'[Column A], INTEGER ), -999 )
= IFERROR ( 'Table 1'[Column A] * 1, 0 )
)
)
@Anonymous did you have a chance to look into the solution I provided?
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
10 | |
10 | |
9 | |
9 |
User | Count |
---|---|
19 | |
14 | |
13 | |
11 | |
8 |