This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
I am using this formular, in order to evaluate if some requirement are fulfil. But it does not give me "No" for B10, but works with B12 for both "Yes" and "No".
Solved! Go to Solution.
Hi @Anonymous ,
Please update the formula of calculated column [Dag] as below and check whether you can get the correct result.
Dag =
VAR dag = Ark1[øvelsesnummer]
RETURN
IF (
(
Ark1[Station] = "Christianshavn"
&& Ark1[Dato] <= DATE ( 2020, 10, 17 )
&& dag IN { "B10", "B12" }
)
|| ( dag
IN { "B1", "B2", "B10", "B12" }
&& Ark1[Station] = "Frederiksberg"
&& [Week Nr] <= 17 ),
"Ja",
"Nej"
)
If the above one can't get the correct result, please provide some sample data(exclude sensitive data) and the related calculation logic in order to provide the suitable solution for your scenario. Thank you.
Best Regards
@Anonymous
Proud to be a Super User!
It did not work. The formula has to end with a no, as no is given for both blank cells but also if the criteria in are not fulfill in any of the iterations.
Hi @Anonymous ,
Please update the formula of calculated column [Dag] as below and check whether you can get the correct result.
Dag =
VAR dag = Ark1[øvelsesnummer]
RETURN
IF (
(
Ark1[Station] = "Christianshavn"
&& Ark1[Dato] <= DATE ( 2020, 10, 17 )
&& dag IN { "B10", "B12" }
)
|| ( dag
IN { "B1", "B2", "B10", "B12" }
&& Ark1[Station] = "Frederiksberg"
&& [Week Nr] <= 17 ),
"Ja",
"Nej"
)
If the above one can't get the correct result, please provide some sample data(exclude sensitive data) and the related calculation logic in order to provide the suitable solution for your scenario. Thank you.
Best Regards
It helped! Thank you for your help!
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 |
|---|---|
| 32 | |
| 26 | |
| 21 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 65 | |
| 43 | |
| 28 | |
| 22 | |
| 22 |