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 Community
as you can see in the picture attached below, my formula is not working properly.
Does anyone have any idea how I can adjust my formula to show the correct result in each row.
or should I use a measure here?
Hope you can help me with this 🙂
Testfile --> https://www.transfernow.net/dl/202201267L8uSdBw
IF-Function
@Anonymous Please confirm if this is for Power BI Report Server or for the service.
Here is a cleaned up and corrected version of the calculated column according to your requirement.
within 2022 =
var _yr_2021 = DATE ( 2021, 12, 31 )
var _yr_2022 = DATE ( 2022, 12, 31 )
return 200*(data[category] = "Küche")*
((data[Shipment] > _yr_2021 && data[Shipment] < _yr_2022)*0.25+
(data[IBN] > _yr_2021 && data[IBN] < _yr_2022)*0.5+
(data[Ready] > _yr_2021 && data[Ready] < _yr_2022)*0.25)
+300*(data[category] = "Bad")*
((data[Shipment] > _yr_2021 && data[Shipment] < _yr_2022)*0.25+
(data[IBN] > _yr_2021 && data[IBN] < _yr_2022)*0.5+
(data[Ready] > _yr_2021&& data[Ready] < _yr_2022)*0.25)
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 |
|---|---|
| 45 | |
| 38 | |
| 34 | |
| 21 | |
| 17 |
| User | Count |
|---|---|
| 66 | |
| 64 | |
| 31 | |
| 26 | |
| 26 |