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,
I have the following issue. I have a colum with turnover, and I have column with webreferences (meaning internetsales).
No I would like to know the formula to calculate the internetsales. So if there is a webrefernece, that means it is an internetsale, otherwise it is an sale from the shop.
| Turnover | Webreference |
100 | |
| 125 | |
| 75 | 123456 |
| 110 | 78910 |
| 90 |
Solved! Go to Solution.
Create a Measure like below:
Hi @BartVlek ,
Is this what you want?
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Sorry I did not make myself perfectly clear. From my example table above, I would want the foloowing result:
I would like a new column 'WEBTURNOVER'.
If there is no webreference, the value for that line in the new column should be 0.
If there is a webreference the value for that line in the new column should be the value from the column TURNOVER.
Create a Measure like below:
If I apply this to my case, it works exactly the other way around.
Hi @BartVlek
SalesLoc = IF('table'[web reference] in {blank(),""}, "Internet","Shop")
Thank you! What does it loojk like if I only need internetsales?
Hi @BartVlek
In that case use
SalesLoc = IF('table'[web reference] in {blank(),""}, "Internet",blank())
Also, with the question putting a desirable output is a good way for others to understand and help.
Not clear with the above statement.
IF(ISBLANK(Table[Webreference]),0,SUM(Table[Turnover]))
Regards,
Manikumar
Proud to be a Super User!
And sorry about the typos ...
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 |
|---|---|
| 35 | |
| 27 | |
| 26 | |
| 22 | |
| 18 |
| User | Count |
|---|---|
| 67 | |
| 36 | |
| 32 | |
| 26 | |
| 23 |