Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
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 ...
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 27 | |
| 23 | |
| 18 | |
| 18 | |
| 15 |
| User | Count |
|---|---|
| 49 | |
| 44 | |
| 42 | |
| 39 | |
| 32 |