Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
_PBI_23455
Regular Visitor

Percentages

Hello all,

I have a problem that I can not solve as a novice.


I have a table with trial subsciptionas from customers.
In parallel, I have joined the real subscriptions  and shown in a table, how many of the trial subscriptions, also led to a real subscription.
Now I want to display the whole as a percentage, but in the stacked bar chart (100%) the trial subscriptions + correct subscriptions are displayed as 100%, although the trial subscriptions should be displayed as 100%.

So how do I get it to display the trial subscriptions as 100% each, and the correct subscriptions as a proportion of this 100%?

 

Thanks a lot!

1 ACCEPTED SOLUTION
v-jianboli-msft
Community Support
Community Support

Hi @_PBI_23455 ,

 

You can use the Clustered bar chart instead to achieve this goal.

1. Create two measure trail and real

 

trail = DIVIDE(SUM('Table'[Trail Subscription]),SUM('Table'[Trail Subscription]))

real = DIVIDE(SUM('Table'[Real Subscription]),SUM('Table'[Trail Subscription]))

 

2. Change the format of these measure to percentage.

vjianbolimsft_0-1656557949642.png

 

vjianbolimsft_1-1656557949646.png

3. Apply the two measure to the chart.

vjianbolimsft_2-1656557949647.png

4. Open the data label.

vjianbolimsft_4-1656558017256.png

 

 

Final output:

vjianbolimsft_5-1656558032198.png

 

If the result you want is not this, please clarify in the next reply

 

Best Regards,

Jianbo Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-jianboli-msft
Community Support
Community Support

Hi @_PBI_23455 ,

 

You can use the Clustered bar chart instead to achieve this goal.

1. Create two measure trail and real

 

trail = DIVIDE(SUM('Table'[Trail Subscription]),SUM('Table'[Trail Subscription]))

real = DIVIDE(SUM('Table'[Real Subscription]),SUM('Table'[Trail Subscription]))

 

2. Change the format of these measure to percentage.

vjianbolimsft_0-1656557949642.png

 

vjianbolimsft_1-1656557949646.png

3. Apply the two measure to the chart.

vjianbolimsft_2-1656557949647.png

4. Open the data label.

vjianbolimsft_4-1656558017256.png

 

 

Final output:

vjianbolimsft_5-1656558032198.png

 

If the result you want is not this, please clarify in the next reply

 

Best Regards,

Jianbo Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

kitgo2
Advocate I
Advocate I

 would it be possible for you to provide some sample data of both tables? I would think that you could use an If (correct subscriptions >0 ,*then* trial subscriptions - correct subscriptions, *else* trial subscriptions  then have the type as the legend 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors