Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
I am faceing one issue with dax query which is written in DAX Query application.
dax query is -
EVALUATE
ADDCOLUMNS (
SUMMARIZECOLUMNS (
'Dim MWBEProgram'[MWBEProgramName],
FILTER ( 'Fact Contract', 'Fact Contract'[MWBEProgramID] <> BLANK () ),
FILTER ( 'Fact Contract', 'Fact Contract'[ContractNumber] = "1234" )
)
,
"STATUS", IF ( 'Dim MWBEProgram'[MWBEProgramName] = "Non M/WBE", "NON M/WBE", "M/WBE" )
)
So, getting output like this:
Is it possible to get only 'STATUS' Column?
Can you clarify what your issue is? I can't see any output in this post, is there an error or unexpected data in the results?
My output is :
Is it possible to get only "STATUS"Column?
@anamika wrote:
Is it possible to get only "STATUS"Column?
You can, the question does not make a lot of sense to me as I can't see how this column will make sense on its own, but you could use SELECTCOLUMNS to just return the STATUS column
eg
EVALUATE
SELECTCOLUMNS(
ADDCOLUMNS (
SUMMARIZECOLUMNS (
'Dim MWBEProgram'[MWBEProgramName],
FILTER ( 'Fact Contract', 'Fact Contract'[MWBEProgramID] <> BLANK () ),
FILTER ( 'Fact Contract', 'Fact Contract'[ContractNumber] = "1234" )
)
,
"STATUS", IF ( 'Dim MWBEProgram'[MWBEProgramName] = "Non M/WBE", "NON M/WBE", "M/WBE" )
)
"STATUS", [Status]
)
Getting error with the given query.
@anamika wrote:
Getting error with the given query.
What is the error message?
I can't run your exact query as I don't have access to your model, but I've run similar queries with this pattern and they work fine.
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!
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 15 | |
| 7 | |
| 5 | |
| 5 | |
| 4 |