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! Request now
Having difficulties finding a DAX which works
I have Targets for Q1,Q2,Q3,Q4 and many different products
I created Slicers for Product (only one product shown at a time), Month and Year.
Product column from this table is linked to Main Table(used for chart).
What i am trying to do now is, once i select a product it should show the correct Target as a line (Best case scenario with correct Quarter as well). I am also fine with 1 quarter setup only and change them manually once the quarter is done.
I am struggling with the correct DAX for this
Best regards and thank you
@baneworth I'm sure it is doable but it will be much easier if you can provide a sample pbix file with your data (remove sensitive info before sharing), it will help to provide the solution.
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Thanks for taking the time to respond
Please let me know if this Link works for you
The data tables providing data for this problems are "Target" & "vwLPR"
Best regards
Hi,
@baneworth you can redact your data and share it thru onedrive
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
That should do it
https://1drv.ms/u/s!AuYSFePTjcs5khhDalNPb0iEivGi?e=Urc93u
sorry, it is the first time i make use of it
Hi,
Thank you for sharing your file.
I extract some data to create a simple sample to test:
Please try to unpivot the four Quater columns:
After Apply&Close, Choose [Attribute] as X-axis and [Product] as Legend and [Value] as Value:
When you select one product, it shows:
Hope this helps.
Best Regards,
Giotto Zhi
Thanks for your input Giotto but i am afraid i cant use it like that, as you maybe saw in the sample file i have to attach the Quarter targets to the already created "Line and stacked column" chart as the Line value.
Best regards
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 97 | |
| 73 | |
| 50 | |
| 46 | |
| 44 |