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.
Hello
I need to keep track of production KPI's (stop time) based on the certain criterias mentioned below.
Example 1: Exclude all stops occuring during the same time as meeting, break or maintenance events.
Example 2: Exclude TC-stops when occuring (and have the same duration) as a position stop
I'm not sure the Power Query-editor will do the trick in this case. Or do you have any suggestions?
The thing is.. I want to remove all "Stopped"-events when they occurs simultaneously as a meeting/break or maintenance break and those are on diffrent rows with the same time stamp.
My suggestion is you work on this using Power Query, as it will result a lot easier. However, should you want to pursue DAX, you can try creating a column and using an IF measure. It is not very clear what is it that differentiates the 2 examples, why is one "Actual stop" at [Position] = "TC_1" and the other at "Pos_2"?
TC stands for Tact circuit if that makes sense. The tact circuit is always in status "stopped" when a position in status "stopped" but not the other way around.
I've have tried using DAX and IF measures but have really got the results I was hoping for. Any suggestions?
It might be a DAX hell to work on it by using IFs, CALCULATE, LOOKUP etc etc. My suggestion is that you use Power Query/M to deal with this. There's plenty of tools, try going on Add Column and Conditional Column:
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
21 | |
7 | |
6 | |
5 | |
5 |
User | Count |
---|---|
27 | |
10 | |
10 | |
9 | |
6 |