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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
justlearning50
Frequent Visitor

What is the effect of the data source on a table visual loading?

Hello,

I have an odd issue I hope someone can shed light on.

I have the same data being read into a power BI dataset. Source 1 is multiple excel files which are merged in PBI, source 2 is a SP online list. Both sets of data load in a reasonable time frame. However when displaying the data from the list in a table visual, it times out and with the error 'The visual has exceeded the available resources'. Displaying the same data from the merged excel files is instantaneous.  Can anyone let me know why this would be the case, please? 

Thanks all.

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@justlearning50 , is only display causing it or measure causing it? Please check the measures you are using, they might have performance issues. In case there is cumulative measure try to use window function or use visual level calculation

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@justlearning50 , is only display causing it or measure causing it? Please check the measures you are using, they might have performance issues. In case there is cumulative measure try to use window function or use visual level calculation

Hi @amitchandak, yes it seems to be the measure that is causing this issue. Thank you. I thought there was an error in it, so I've edited it slightly. However it now gives the total number in my column (but is quick) for each row rather than counting where the entry is 'Skill Achieved' in my 'Result' column. (Same result for each row)

This is my measure and it works fine where excel is the data source. (column names are slightly different of course)

 

 

Total skill numbers =
var selectedSite = SELECTEDVALUE('ListName'[Group]) //results from a slicer selection
RETURN
CALCULATE
(
COUNT
(
ResultsTable[Achieved skill]
),

FILTER
(
ResultsTable,
ResultsTable[Achieved skill]= "Skill Achieved" &&
CONTAINSSTRING
(
ResultsTable[GroupName], selectedSite
)
)
)

Example below of what I have/hope to achieve. My measure may not be correct, but seems to work fine for the excel data.. (I hope this makes sense)

Skill NameGroupNameResult   
Skill 1Group ASkill Achieved  
Skill 2Group ASkill Achieved  
Skill 3Group ASkill Achieved  
Skill 1Group ASkill Achieved  
Skill 2Group ASkill Gap   
Skill 3Group ASkill Achieved  
Skill 7Group ASkill Achieved  
Skill 1GroupBSkill Achieved  
Skill 2GroupBSkill Achieved  
Skill 3GroupBSkill Achieved  
Skill 1GroupBSkill Gap   
Skill 2GroupBSkill Gap   
Skill 3GroupBSkill Achieved  
Skill 7GroupBSkill Achieved  
      
If Group A is selected from a slicer I should get the results below
Skill 12    
Skill 21    
Skill 32    
Skill 71    

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

August Carousel

Fabric Community Update - August 2024

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