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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
t_patts
Frequent Visitor

'Transform and Combine' Folder Data Pull Causing Unwanted Max Column Values

https://drive.google.com/drive/folders/16oFJXo9iPINyP2KlOJlgcVRfXoxmi8MX?usp=sharing

^^^ Here is my scrubbed data. I have Power BI "Get Data" ing by pulling in this folder and then summarizing the top 10 descending rows (so data is added automatically when a new data file is added each week).

 

Here is what it looks like thus far:

t_patts_0-1648651222887.png

 

Here are my current parameters for the line and stacked column chart:

t_patts_0-1648590985403.png 

 

(The proportion by week is renamed but its the % GT of count for equipment description of the combined files)

 

I know the selection method (folder > combine content) is the reason the total weekly percent is not 100, its X% of all of the items in all of the files being combined.. I would like to have it look like 

 

t_patts_2-1648652130767.png

 

where each week has 100% of each weeks items (seperate from other weeks), not X% of total items from alls weeks spreadsheets.

 

Can I do this while still pulling in new files each week automatically or will I have to manually pull the files to keep the items seperate? What can I do to get each week as its own set?

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

Hi @t_patts ,

 

Create a measure like this:

Measure = 
VAR _Count = COUNTROWS('Table')
VAR _ALL = CALCULATE(COUNTROWS('Table'),ALLEXCEPT('Table','Table'[WW]))
RETURN
DIVIDE(_Count,_ALL)

And replace proportion by week by this measure.

vchenwuzmsft_0-1649133231615.png

Pbix in the end you can refer.

Best Regards

Community Support Team _ chenwu zhu

 

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-chenwuz-msft
Community Support
Community Support

Hi @t_patts ,

 

Create a measure like this:

Measure = 
VAR _Count = COUNTROWS('Table')
VAR _ALL = CALCULATE(COUNTROWS('Table'),ALLEXCEPT('Table','Table'[WW]))
RETURN
DIVIDE(_Count,_ALL)

And replace proportion by week by this measure.

vchenwuzmsft_0-1649133231615.png

Pbix in the end you can refer.

Best Regards

Community Support Team _ chenwu zhu

 

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

amitchandak
Super User
Super User

@t_patts , Are you using 100% stacked visual place of stacked visual ?

or your calculation has some issue

 

create a measure for that

Percent of SubTotal or Total: https://www.youtube.com/watch?v=6jTildcV2ho&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=37

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors