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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
DavidB023
Helper III
Helper III

Slicers

Hi everybody !

 

I have a slicer on my repport in order to display a value in euros, the rest to spend in euros and a purcentage of my rest to spend.

So, I have many category but when I diselected each category, I have the total in euros (thanks sum) and the total in purcent (because of sum) like 280% .

In fact, I want to display, when nothing is select, the total purcentage, on 100%, of my total value.

 

Does anybody can help me please ?

 

Thanks

Best regard

David

1 ACCEPTED SOLUTION

Hi @DavidB023

After modifying the measure2 in my pbix provided as below

Measure 2 =
IF (
    HASONEVALUE ( Table1[Category] ),
    [Measure],
    SUM ( Table1[Rest to spend] ) / SUM ( Table1[Budget] )
)

I can show it on the visual when nothing is selected as follows.

8.png

 

Best Regards

Maggie

View solution in original post

6 REPLIES 6
v-juanli-msft
Community Support
Community Support

How is your formula (“percentage of my rest to spend”) created?
How is the percentage reflected by selection of categories?
Could  you share me some data example?
 
 
Best Regards
Maggie

Hi @v-juanli-msft,

You will find a .pbix like I have for my work. In fact, I consider a line All with formula that is fit in this framework but it appear two line all...

https://1drv.ms/u/s!AlpYVjQtU7WhiS1xfWK_pBilOtGO

Thanks for your time


Best regards

David

Hi @DavidB023

I can solve it but create measures instead of calculated columns.

5.png

 

Here is my modified pbix.

 

Best Regards

Maggie

@v-juanli-msft


Do you think it is possible to have when nothing is select, just the purcent of the total rest compared to total budget ?

 

Thanks

Best regards

David

Hi @DavidB023

After modifying the measure2 in my pbix provided as below

Measure 2 =
IF (
    HASONEVALUE ( Table1[Category] ),
    [Measure],
    SUM ( Table1[Rest to spend] ) / SUM ( Table1[Budget] )
)

I can show it on the visual when nothing is selected as follows.

8.png

 

Best Regards

Maggie

@v-juanli-msft

 

It's perferct ! Thanks

Best regards

David

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.