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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

undefined

this dax is not showing right output : Adjustedcash = IF(ISBLANK('Fin'[input]),BLANK(),'Fin'[cash]), please help me to make it right

1 ACCEPTED SOLUTION

Hello @Anonymous 

Apologies for the delayed reply due to the timezone difference. You can create the DAX measure as follows:

Adjusted Cash = IF(ISBLANK(SUM(SampleTbl[Cash])), BLANK(), SUM(SampleTbl[Input]))

Below is the solution screenshot:

quantumudit_0-1731149492052.png

Important Consideration:

- Ensure that the "Summarize by" option for the "Cash" column is set to "None" if it hasn't been already.

Here's how you can do it:

quantumudit_1-1731149572474.png

Best Regards,
Udit

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudo 👍

🚀 Let's Connect: LinkedIn || YouTube || Medium || GitHub
Visit My Linktree: LinkTree

View solution in original post

10 REPLIES 10
Anonymous
Not applicable

Hi,

Thanks for the solution quantumudit  offered, and i want to offer some more informaiton for user to refer to.

hello @Anonymous , you can create the following measure.

Measure = CALCULATE(SUM('Fin'[input]),FILTER('Fin','Fin'[cash]<>BLANK()))

Output

vxinruzhumsft_0-1731290465072.png

 

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

@Anonymous  Thank you for your solution but it didn't solved my problem .My main concern it to remove that values where its corresponding cash value is blank.Please have a look at it and share your thoughts and solution.

Anonymous
Not applicable

Hi @Anonymous 

My solution is to display the value that cash not equal to blank so that the blank cash will be filtered.

 

Best Regards!

Yolo Zhu

 

Anonymous
Not applicable

Yes you are right but for me it is showing 38 for all the three column.Anyways it is a very silly of me to not think of filters on the visual .Sometimes the problem is very small and in dire need to resolve it quick i am unable to opt for simple solutions. So i believe problem is on me.

Anonymous
Not applicable

@quantumudit did you got a chance to look at it?

Anonymous
Not applicable

I can share the data but i can share my problem more elaborately.I have 2 rows in my table lets say for example cash and input.what i want to show in my report in if cash has any value blank then input also doesn't shows up
for example lets have a table like this:

G92749_0-1731069211364.png

the output table should be:

G92749_1-1731069289729.png

Hope this make sense what i am trying to say.

 

Hello @Anonymous 

Apologies for the delayed reply due to the timezone difference. You can create the DAX measure as follows:

Adjusted Cash = IF(ISBLANK(SUM(SampleTbl[Cash])), BLANK(), SUM(SampleTbl[Input]))

Below is the solution screenshot:

quantumudit_0-1731149492052.png

Important Consideration:

- Ensure that the "Summarize by" option for the "Cash" column is set to "None" if it hasn't been already.

Here's how you can do it:

quantumudit_1-1731149572474.png

Best Regards,
Udit

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudo 👍

🚀 Let's Connect: LinkedIn || YouTube || Medium || GitHub
Visit My Linktree: LinkTree

Anonymous
Not applicable

I got the solution , i applied filter on the visual "is not blank" on cash and it worked .

Thank you who supported me to find the solution .I always rely on the community for my PowerBI problems and try to help if i can.

Anonymous
Not applicable

Thanks for the solution but it didn't solved my problem , also 

G92749_0-1731313291640.png

this is showing wrong summation calculation . But my main concern it to remove that values where its corresponding cash value is blank.Please have a look at it and share your thoughts and solution.

quantumudit
Super User
Super User

Hello @Anonymous 

Please provide more details about the issues you're encountering. You can share a sample of the Power BI report you're working on with anonymized data.

Without sufficient context, it's challenging to determine why you're not receiving the correct output.

 

Thanks,

Udit

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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