Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Dear Devs,
I am trying to create a target line from a calculated measure. My measure gives me a total value and it also shows on a text object. What I am trying to do is carry this value across my date dimension as a straight line.
Im using the following code:
CALCULATE(AVERAGEX ( ALL ( 'Fact'[Date] ), [Performance]), FILTER('Fact','Fact'[Date]>=MinDate && 'Fact'[Date]<=MaxDate))
Right now my result only gives me empty cells on a table and a total value.
Thanks in advance.
You may try to use ALLSELECTED Function in FILTER Function.
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
6 | |
6 | |
3 | |
2 | |
2 |