Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
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.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 41 | |
| 37 | |
| 34 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 64 | |
| 58 | |
| 31 | |
| 25 | |
| 25 |