Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 |
User | Count |
---|---|
9 | |
3 | |
3 | |
2 | |
2 |