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 everyone,
Maybe the TotalYTD is not the good function for my purpose but I don't find my answer :-(.
Can someone could help me please?
3 tables: RevenueLines (G_L) ; Calendar and Closing and the link between them in color.
3 measures : the first-two are OK but not the third.
Thanks for your help
Hi @Anonymous ,
What the [70] is in the measure2?
Best Regards,
Jay
@Anonymous , Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
If you need YTD based on today, not based on selection, you can try a measure like
YTD=
var _min = date(year(today()),1,1)
var _day = today()
return
CALCULATE(sum('order'[Qty]), FILTER(ALL('Date'),'Date'[Date] >=_min && 'Date'[Date] <= _day) )
Hi,
No. My problem is about summing all the amount of account "70" from the first day of the year until the closing date which came from an other table.
This is the yellow part of my screen capture.
Thanks
@amitchandak I need to replace the "today var" by the closing date coming from the table "closing". But I can't manage it
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 38 | |
| 37 | |
| 28 | |
| 28 |
| User | Count |
|---|---|
| 124 | |
| 89 | |
| 73 | |
| 66 | |
| 65 |