Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi All
I have sales vs target chart it work fine.
I like to remove those target line from May till Dec , because May till Dec no sales yet , so don't need to display.
@Ashish_Mathur have share with me below code , it try to check if SALES_ is not blank , then compute the target line.
TARGET_ = if(ISBLANK([SALES_]),BLANK(),SUM(TARGET_[TARGET]))
Since the sales vs target gap chart is using below expression :-
Paul Yeo
Solved! Go to Solution.
Hello, I downloaded your pbix and replaced the Sales_YTD with this: It works for me
Hi,
I think this is happening because there is no relationship between the Source column of your Target Table and the Source column of your Source table. I tried to create a relationship but could not. Furthermore, i have also simplified some measures. Download the PBI file from here.
Hello, I downloaded your pbix and replaced the Sales_YTD with this: It works for me
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.