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.
I am struggling to have my Monthly Target line show properly on a Line and Cluster column chart. It will only show as a flat line, instead of what I am trying to get which is monthly target line that we can track against. Any help would appreciated.
I tried this Dax code with no luck.
Solved! Go to Solution.
Hi @bodorsey11 ,
Please try this formula:
NY Monthly Targets =
CALCULATE (
MAX ( 'NY Monthly Target'[Planned Target] ),
FILTER (
ALLSELECTED ( 'NY Monthly Target' ),
'NY Monthly Target'[Date].[Month] = SELECTEDVALUE ( 'Calendar'[Date].[Month] )
)
)
Best Regards,
Jay
Hi @bodorsey11 ,
Please try this formula:
NY Monthly Targets =
CALCULATE (
MAX ( 'NY Monthly Target'[Planned Target] ),
FILTER (
ALLSELECTED ( 'NY Monthly Target' ),
'NY Monthly Target'[Date].[Month] = SELECTEDVALUE ( 'Calendar'[Date].[Month] )
)
)
Best Regards,
Jay
Hi,
In a simple table, show the expected result. Please also share the download link of the PBI file.
@bodorsey11 , if the target table is joined with calendar table then simply this should work
SUM('NY Monthly Target'[Planned Target])
In case you only have month, the create date using the month year and join both your data and target with a common date table
Distributing/Allocating the Monthly Target(Convert to Daily Target): Measure ( Daily/MTD): https://community.powerbi.com/t5/Community-Blog/Power-BI-Distributing-Allocating-the-Monthly-Target-...
Distributing/Allocating the Yearly Target(Convert to Daily Target): Measure ( Daily/YTD): Magic of CLOSINGBALANCEYEAR With TOTALYTD/DATESYTD: https://community.powerbi.com/t5/Community-Blog/Power-BI-Distributing-Allocating-the-Yearly-Target-C...
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
131 | |
80 | |
53 | |
38 | |
35 |
User | Count |
---|---|
207 | |
82 | |
75 | |
55 | |
50 |