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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
I am trying to make a trend line chart, based on Start & Expired date. Below are the expected trend line and the data:
In my scenario, need to read my Start date Amount as ZERO always for respective ProjID and Expire_Date as
the Amount value. Also, in case there is another entry for the same ProjID with modified Start\Expiry date, then it should
read that value either in the same Line or as another line trend.
Could someone please help in it.
Thanks
Shishir G.
Solved! Go to Solution.
Hi Shishir,
Please download the demo in the attachment.
1. Create a date table. Don't establish any relationship.
2. Add an index since there could be more than one project ID.
3. Create a measure.
Measure =
IF (
MIN ( 'Calendar'[Date] ) = MIN ( 'Table1'[Start_Date] ),
0,
IF (
MIN ( 'Calendar'[Date] ) = MIN ( Table1[Expire_Date] ),
SUM ( Table1[Amount] ),
BLANK ()
)
)
Best Regards,
Dale
Hi Shishir,
Please download the demo in the attachment.
1. Create a date table. Don't establish any relationship.
2. Add an index since there could be more than one project ID.
3. Create a measure.
Measure =
IF (
MIN ( 'Calendar'[Date] ) = MIN ( 'Table1'[Start_Date] ),
0,
IF (
MIN ( 'Calendar'[Date] ) = MIN ( Table1[Expire_Date] ),
SUM ( Table1[Amount] ),
BLANK ()
)
)
Best Regards,
Dale
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 35 | |
| 34 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 136 | |
| 102 | |
| 68 | |
| 66 | |
| 58 |