Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi Guys,
First i will start by saying im new to Power BI and come from a mainly excel background, so yes, im sure im doing this wrong!!
I'm trying to work on a dashboard for a department that deals with enquiries. They have a current KPI that records length of time taken to complete and enquiry. This is currently measured in 0,1,2,3 and 3+ days.
I have created a column that calculates the days to close.
Days to Close = if(ISBLANK(DataD[Date Completed]),BLANK(),DataD[Date Completed] - DataD[Date Issued by OS])
Solved! Go to Solution.
Hi,
For multiple IF structure similar to excel you can use SWITCH + TRUE combination. The basic structure is as follows:
NestedLogic = SWITCH(TRUE(),
"Condition 1", "Result 1",
"Condition 2", "Result2")
Typically in these kinds of categorization cases I would use measure for efficency, but a calculated column works all the same.
I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!
Proud to be a Super User!
This worked perfectly. Thank you.
Hi,
For multiple IF structure similar to excel you can use SWITCH + TRUE combination. The basic structure is as follows:
NestedLogic = SWITCH(TRUE(),
"Condition 1", "Result 1",
"Condition 2", "Result2")
Typically in these kinds of categorization cases I would use measure for efficency, but a calculated column works all the same.
I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!
Proud to be a Super User!
User | Count |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
12 | |
11 | |
8 | |
7 |