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
I need help with writing a DAX statement. I have a table that has project code and contract amt. Currently the table returns values even when there is no contract amount as long there is a project code
I know I can introduce a visual filter to remove rows where contract amt is blank but I have been asked to keep off visual filters because they want users to not be able to change any of the filters
I am trying to write this in DAX but to no avail
Sum of Contract Amt2 = CALCULATE( [Sum of Contract Amt],Not(ISBLANK(Awards[CONTRACT_AMT])))
Regards
Swati
Solved! Go to Solution.
I don't understand very well, I hope this is what you're looking for...
Sum of Contract Amt 2 = IF(ISBLANK(FIRSTNONBLANK(Awards[Contract amt];1));BLANK();[Sum of Contract amt])
Regards
BILASolution
Hi,
Try this
=IF(ISBLANK(Awards[Contract_Amt]),BLANK(),[your_measure])
I don't understand very well, I hope this is what you're looking for...
Sum of Contract Amt 2 = IF(ISBLANK(FIRSTNONBLANK(Awards[Contract amt];1));BLANK();[Sum of Contract amt])
Regards
BILASolution
Hello
I need help with writing a DAX statement. I have a table that has project code and contract amt. Currently the table returns values even when there is no contract amount as long there is a project code
I know I can introduce a visual filter to remove rows where contract amt is blank but I have been asked to keep off visual filters because they want users to not be able to change any of the filters
I am trying to write this in DAX but to no avail
Sum of Contract Amt2 = CALCULATE( [Sum of Contract Amt],Not(ISBLANK(Awards[CONTRACT_AMT])))
Regards
Swati
Hi,
Try this
=IF(ISBLANK(Awards[Contract_Amt]),BLANK(),[your_measure])
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 | |
75 | |
68 | |
41 | |
35 |
User | Count |
---|---|
102 | |
56 | |
52 | |
46 | |
40 |