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
Rince91
Helper I
Helper I

Dynamically Display Columns With Totals Greater than X

Hi All,

 

I have a dataset in which each column is a service and each row is the monthly spend on that service.

 

There are multiple columns.

 

I would like to only display columns who's summed value across multiple rows exceeds a specified amount.

 

Im not sure how to go about this. I thought about a custom column with a true/false statement but would need one for each column which isnt feasable.

 

Edit: Below is a sample of my dataset. What i need to do is create a stacked bar chart for each "Service", for 3 months, where the summed column value is greater than $100.

 

ServiceDateBackup($)CloudFront($)CloudTrail($)CloudWatch Events($)CloudWatch($)Config($)DynamoDB($)
Webstacks########3.8074530.03604801.23E-0531.7436344.66111.85437
Webstacks########2.6038890.03441708.22E-0629.4940350.82311.50157
Webstacks########1.8698050.02586909.25E-0630.1979943.25510.58426
Webstacks########54.07590.00357806.17E-0634.6074744.94611.85438
Webstacks########30.053270.00926304.11E-0632.634850.48411.85437
Webstacks########23.141190.00570307.2E-0633.1942940.97210.58426
Webstacks########25.7263213.807050 144.259120.97911.51922
Webstacks########27.0726213.523580 140.845237.33911.50157
Webstacks########28.699859.0806290 125.116121.76610.1609
Legacy########473.48932.61874818 186.613455.7058.891563
Legacy########473.87293.475225181.03E-06191.117647.4528.891565
Legacy########456.30253.3547416 184.695335.7397.938909
KLG########3.9735130.0483371963.46E-0527.1338431.0711.51522
KLG########3.3834870.0681081770.00020728.7617316.02411.87038
KLG########4.5435830.0825732050.00015836.45886244.50326.54885
KLG########2.6656440.0027550 17.4755287.85911.85571
KLG########2.6246130.00072308.24E-0618.5667386.79911.856
KLG########2.5207080.00142801.85E-0521.881784.00530.76302
KLG########3.3143120.24345501.03E-0650.76672122.39511.50283
KLG########4.0603020.16748606.18E-0655.46416117.68311.8558
KLG########3.9147250.00111101.23E-0584.9595798.25730.19538
5 REPLIES 5
v-yalanwu-msft
Community Support
Community Support

Hi, @Rince91 ;

Is your problem solved? If so, Would you mind accept the helpful replies as solutions? Then we are able to close the thread. More people who have the same requirement will find the solution quickly and benefit here. Thank you.


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

v-yalanwu-msft
Community Support
Community Support

Hi, @Rince91 ;

Sorry I am still a little unclear about your question, first of all there are two columns in the dataset where the numbers are not very clear.

vyalanwumsft_0-1648172535471.png
Secondly, you are asking for the sum of Backup($) + CloudFront($) + CloudTrail($) + CloudWatch Events($) + CloudWatch($) + Config($) + DynamoDB($) for each service and >100 right?


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hey, Thanks for replying.

 

Unfortunately not quite right. Hopefully the below explanation clarifies things.

 

This is the graph i need to present:

 

Rince91_0-1648647894783.png

However, i only want to show segments of the bar that are over a certain value.

Each item of the legend is a column in the data set.

I sum the value for each month for each column.

If that sum value is greater than $150, plot the sum value on the stacked graph against the relevant month.

amitchandak
Super User
Super User

@Rince91 , If a column is going to be measure you can make it blank like

 

if (sumx(allselected(Table), Table[Columm]) >100, sum(Table[Column]), blank())

 

If need you can create a calculation group on these measures to get better control

 

Calculation Groups- Measure Slicer, Measure Header Grouping, Measure to dimension conversion. Complex Table display : https://youtu.be/qMNv67P8Go0

Thanks for this, i can see how this would be really useful and i've subscribed!

 

However, i dont think it will do what im looking for. I have posted an edit with a sample data set and further explanation of what i am trying to do.

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.