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 representing the annual target on a bar chart and comparing with the completion data every month during the year. The monthly data is cumulative - that is April data consists of the sum of four months in the year. That is basically two bars, annual target on the top and YTD month-end data below that bar. I am not using any time scale on the chart. I only indicate the YTD (year to date) month in a card above the chart. The two bars represent two numbers.
I want the top bar, representing the annual target, to be marked Q1,Q2 and Q3 at equal intervals. Which is the simplest way to achieve that?
Solved! Go to Solution.
Hi, @kkanda
Thanks for your quick response!
Sorry I misunderstood you, from your description you want to divide one of your values into 4 equal parts.
This is my test data:
We can create three measures as the constant line.
Q1 = [Total]/4
Q2 = [Total]/2
Q3 = ([Total]/4)*3
Then we can configure the measure on the "Constant Line":
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Thank you. This has helped me in dividing the target value to 4 parts.
Probably I was not clear what I am looking for. In the attached chart, 1064 is the annual target and 250 is the completed number up to end of April. The X- Axis is a number and there is no Y-Axis. I want the bar representing 1064 to be divided in 4 equal parts marking as "Q1", "Q2", "Q3" and "Q4".
Hi, @kkanda
Thanks for your quick response!
Sorry I misunderstood you, from your description you want to divide one of your values into 4 equal parts.
This is my test data:
We can create three measures as the constant line.
Q1 = [Total]/4
Q2 = [Total]/2
Q3 = ([Total]/4)*3
Then we can configure the measure on the "Constant Line":
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi, @kkanda
According to your description, you have calculated the value of YTD, do you want to divide the value of YTD into quarters?
If this , you can just create a calculated column in your table:
Column = "Q"& QUARTER([Date])
Then you can the column to the dimension field and your measure on the value , then we can get this:
If this method does not meet your needs, you can provide us with your special sample data and the desired output sample data in the form of tables, so that we can better help you solve the problem. (You can also upload you sample .pbix [without sensitive data] to the OneDrive and share with the OneDrive link to me ! )
Thank you for your time and sharing, and thank you for your support and understanding of PowerBI!
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
User | Count |
---|---|
117 | |
73 | |
58 | |
49 | |
48 |
User | Count |
---|---|
171 | |
122 | |
60 | |
59 | |
56 |