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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
G92749
Helper I
Helper I

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 @G92749 

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
v-xinruzhu-msft
Community Support
Community Support

Hi,

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

hello @G92749 , 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.

@v-xinruzhu-msft  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.

Hi @G92749 

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

 

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.

G92749
Helper I
Helper I

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

G92749
Helper I
Helper I

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 @G92749 

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

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.

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
Skilled Sharer
Skilled Sharer

Hello @G92749 

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.