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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
t_patts
Frequent Visitor

Multi File Data Set Producing Odd Percentages in Line and Stacked Column Chart

Hi friends,

 

I have my data being pulled in from a folder so that each weekly Excel report will be automatically added in to a line and stacked column chart as a new week (new column).

 

Because the amount of lines on the Excel file change each week I want to have each column be 100% of items for that week.

 

With the way I'm pulling in multiple files its combining the data so that the total percent for each week is a proportion of the total lines added in total. 

 

Is there a way to either pull in the data so it doesn't combine and each week can be displayed seperately, or a filtering/function that helps the chart to know I want each week treated seperately?

 

t_patts_0-1648162909873.png

 

I'd like both of these to be the same height @100%

4 REPLIES 4
V-lianl-msft
Community Support
Community Support

Hi @t_patts ,

 

Maybe you can try to create a measure with the allexcept function.

If the problem persists,please show the expected outcome based on the sample data you provided. 


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

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

 

Here is my scrubbed data. I have Power BI "Get Data" ing by pulling in the files added to the folder each week.

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

t_patts_0-1648590985403.png 

The proportion by week is % GT of count for equipment description of the aggregate files.

 

I know this is why it is splitting the proportion, because the files are 'summarized and combined' and then split by week it is showing the percent of items per total items and then splitting the columns, when I would like to have it treat each week individually so each week has 100% of their items, not X% of all items.

 

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?

 

Hope to have it look like this:

t_patts_0-1648591408337.png

 

lbendlin
Super User
Super User

Please provide sanitized sample data that fully covers your issue. If you paste the data into a table in your post or use one of the file services it will be easier to work with. Avoid posting screenshots of your source data if possible.

Please show the expected outcome based on the sample data you provided. Screenshots of the expected outcome are ok.

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

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

 

Here is my scrubbed data. I have Power BI "Get Data" ing by pulling in the files added to the folder each week.

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

t_patts_0-1648590985403.png 

The proportion by week is % GT of count for equipment description of the aggregate files.

 

I know this is why it is splitting the proportion, because the files are 'summarized and combined' and then split by week it is showing the percent of items per total items and then splitting the columns, when I would like to have it treat each week individually so each week has 100% of their items, not X% of all items.

 

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?

 

Hope to have it look like this:

t_patts_0-1648591408337.png

 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

Top Kudoed Authors