The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi All
I have a date table. from that I have a slicer defining a time period
then I have two Measures
Then I have this Timeline Table
MID | Status | Start Time | End Time |
CNC 28 | Production | 01-01-2020 09:00:00 | 01-01-2020 23:00:00 |
CNC 28 | stopped | 01-01-2020 23:00:00 | 02-01-2020 09:00:00 |
CNC 28 | alarm | 02-01-2020 09:00:00 | 02-01-2020 23:00:00 |
CNC 28 | stopped | 02-01-2020 23:00:00 | 03-01-2020 09:00:00 |
I would like to have two new measures:
I have the following challenges with the two measures:
the measure will be used in a "as timeline" Visual to make timelines for my machines. the measures will make sure start and end for each machine is the same in the visual so it looks pretty
Any device to finalice the measures would be much appreciated
/Kristian
1. is easy to resolve. Just use some form of meaningless aggregation against your row value
measure = max (max(Timeline[Start time]),Timeperiod_START)
etc.
User | Count |
---|---|
14 | |
12 | |
8 | |
6 | |
5 |
User | Count |
---|---|
29 | |
18 | |
13 | |
8 | |
5 |