Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi!
I have two datasets that are not connected. The first records the flow for 4 different panels every minute. The second is a table where we record every test we make. For each test we are using either panel 1 or 2 for the first round and then either panel 3 or 4 for the second round. In the test table every test (ID) have a start and end time for both rounds.
Test table:
Flow table:
Now I want to plot the flow for the selected ID. With this measure it works if I only want to see the flow for one ID:
Solved! Go to Solution.
If you cannot place the ID on the legend (why not??) I'm afraid you'll have to create multiple measures. For instance for ID1:
Flow ID1 =
CALCULATE([Flow per ID], Table1[ID] = 1)
and same pattern for the others. Another option would be to use calculation groups
Please mark the question solved when done and consider giving a thumbs up if posts are helpful.
Contact me privately for support with any larger-scale BI needs, tutoring, etc.
Cheers
If you cannot place the ID on the legend (why not??) I'm afraid you'll have to create multiple measures. For instance for ID1:
Flow ID1 =
CALCULATE([Flow per ID], Table1[ID] = 1)
and same pattern for the others. Another option would be to use calculation groups
Please mark the question solved when done and consider giving a thumbs up if posts are helpful.
Contact me privately for support with any larger-scale BI needs, tutoring, etc.
Cheers
Hi @AlB ,
Thank you for your reply!
Putting the ID on the legend solves the problem I described. Unfortunally, this is a simplification of my problem so I don't have that option. I have to put multiple measures on the chart showing flow of both air and O2 etc. Do you know if I can get the same result by rewriting my measure?
Hi @Othello00
I'm not completely sure I follow but try this
1. Place ID also on the legend of the chart, so that yiou have different lines
2. Modify your measure a bit:
Flow per ID =
var _start = CALCULATE(MIN(Tests[Start Panel 1 or 2]))
var _end = CALCULATE(MAX(Tests[End Panel 1 or 2]))
RETURN
CALCULATE (
SUM ( 'Flow table'[Flow] ),
'Flow table'[Time] >= _start,
'Flow table'[Time] <= _end
)
Please mark the question solved when done and consider giving a thumbs up if posts are helpful.
Contact me privately for support with any larger-scale BI needs, tutoring, etc.
Cheers
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 103 | |
| 79 | |
| 57 | |
| 51 | |
| 46 |