This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi
look the below image...
I want to get the future stock value. For that I have to add "stock" to future "transaction", it's giving me the balance.
All work great but It's kind of full outer join. I have "stock" without "transaction" and "transaction" without stock. also here it's ok. But how can I replace the blank value with 0???
see the source here https://we.tl/t-Tx1aRpTfmY
Solved! Go to Solution.
Hi @vbourbeau ,
Create 3 measures as below:
_In = IF(MAX('Stock'[Part]) in FILTERS(Part[Part])||MAX('Transaction'[Part]) in FILTERS(Part[Part]),MAX('Transaction'[In])+0,BLANK())_Out = IF(MAX('Stock'[Part]) in FILTERS(Part[Part])||MAX('Transaction'[Part]) in FILTERS(Part[Part]),MAX('Transaction'[out])+0,BLANK())_Qte = IF(MAX('Stock'[Part]) in FILTERS(Part[Part])||MAX('Transaction'[Part]) in FILTERS(Part[Part]),MAX('Stock'[Qte])+0,BLANK())
And you will see:
For the related .pbix file,pls click here.
Hi @vbourbeau ,
Create 3 measures as below:
_In = IF(MAX('Stock'[Part]) in FILTERS(Part[Part])||MAX('Transaction'[Part]) in FILTERS(Part[Part]),MAX('Transaction'[In])+0,BLANK())_Out = IF(MAX('Stock'[Part]) in FILTERS(Part[Part])||MAX('Transaction'[Part]) in FILTERS(Part[Part]),MAX('Transaction'[out])+0,BLANK())_Qte = IF(MAX('Stock'[Part]) in FILTERS(Part[Part])||MAX('Transaction'[Part]) in FILTERS(Part[Part]),MAX('Stock'[Qte])+0,BLANK())
And you will see:
For the related .pbix file,pls click here.
Create new measures with + 0
yeah I try something like that but I get all the part. In my real life database I have lot of part I don't want to see it there.
Add a Filter to the visual, on Balance > 0 to reduce the extra rows.
HTH,
Smitty
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 28 | |
| 23 | |
| 22 | |
| 16 | |
| 16 |
| User | Count |
|---|---|
| 61 | |
| 35 | |
| 28 | |
| 22 | |
| 22 |