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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hi,
I have a table with two dates "Plan Date" and "Act Date" that I need to compare in one line chart. I have to compare them between reports from different dates ("Report date") . I also have a table with a calendar. I have to show increasing number of rows for particular dates.
The “RT Act Date”
measure works fine, but I am unable to show data for both reports as two lines on chart. The relation "Plan Date" to "Date" in the Calendar table is not active, so the measure "RT Plan Date" is not working. This is my exemle file:
https://www.dropbox.com/s/ap9j5qicvc0zph9/RT.pbix?dl=0
I will be grateful for any suggestions.
Thank you.
Marcin
Solved! Go to Solution.
Hi @maart666
Thanks for reaching out to us.
you can try this measure,
RT Plan Date Test =
CALCULATE(
COUNTROWS(Arkusz1),
FILTER(
ALLSELECTED(Arkusz1),Arkusz1[Plan Date] <=MAX('Calendar'[Date])
)
)
if this doesn't help, could you provide the expected outcome (how to calculate it, the math formula)? Thanks.
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
Hi @maart666
Thanks for reaching out to us.
you can try this measure,
RT Plan Date Test =
CALCULATE(
COUNTROWS(Arkusz1),
FILTER(
ALLSELECTED(Arkusz1),Arkusz1[Plan Date] <=MAX('Calendar'[Date])
)
)
if this doesn't help, could you provide the expected outcome (how to calculate it, the math formula)? Thanks.
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
Thank you.
It is what I was looking for!
Marcin
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 4 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 19 | |
| 11 | |
| 10 | |
| 6 | |
| 6 |