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.
Hello trying to create a measure that count all rows that does not start with 1 but also excludes blank entries I have a sample quick measure I made which is wrong
Count of LEG-1 If does not start with 1=
CALCULATE(
COUNTA('Dispatch Total'[LEG-1]),
'Dispatch Total'[LEG-1] IN { "1" }
)
By the way, you may take a look at https://www.sqlbi.com/articles/blank-handling-in-dax/.
Try with following
Count of LEG-1 If does not start with 1 = CALCULATE ( COUNT ( 'Dispatch Total'[LEG-1] ), NOT 'Dispatch Total'[LEG-1] IN { "1", BLANK () } )
DId I do something wrong it is counting its that start with 1
You'll need to use LEFT first.
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 |
---|---|
84 | |
76 | |
73 | |
42 | |
36 |
User | Count |
---|---|
109 | |
56 | |
52 | |
48 | |
43 |