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
I wanna make a new variable called 'status' and one called 'p'. The purpose for this, is to be able to make a response rate.
The formula should be something like this:
1. Custom column 'status'
if [taskstatus]='submitted' => status = 'answered'
else status='not answered'
2. Custom column 'p'
[Status]='besvaret' => p=1
else p=0
Solved! Go to Solution.
Hi,
From the ribbon Add Column - Conditional Column- fill the relevent area as below.
Choose for cloumn name - task status cloumn
Operator -equal
Value - enter a value - "status" (use apostrophe because this is text )
Then - "answered"
Else - "not answered"
The other one is same logic just dont use apostrophe because it is number.
Hi,
From the ribbon Add Column - Conditional Column- fill the relevent area as below.
Choose for cloumn name - task status cloumn
Operator -equal
Value - enter a value - "status" (use apostrophe because this is text )
Then - "answered"
Else - "not answered"
The other one is same logic just dont use apostrophe because it is number.
I totally missed the "conditional column", it made it much easier.
Your solution was the right one, however there's no need to use apostrophe.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Check out the July 2026 Power BI update to learn about new features.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.