Forum Discussion
stuarthokie
2 years agoFrequent Visitor
Native Query to Pivot Large Volumes of Data
Hello! I have a challenge for which I have not seen a resolution posted. I have seen similar issues resolved, but none like what seems to be my normal challenge. I am green to the more complex wor...
lbendlin
Super User
2 years agoPut your data into a matrix table, then examine the DAX query that Power BI creates for that (including filters). Use that query as the basis for your measure calculations.
stuarthokie
2 years agoFrequent Visitor
Hello, Ibendlin!
I'm not sure what I was supposed to see but there is nothing helpful in this code from the matrix table:
EVALUATE
TOPN(100, 'DataTable')
- lbendlin2 years ago
Super User
Use Performance Analyzer on the Matrix visual. Copy the query and examine it.
- stuarthokie2 years agoFrequent Visitor
There is no query to copy which makes sense. All I am doing is selecting rows, columns, and values to place in the Matrix:
- lbendlin2 years ago
Super User
That's not all you are doing. You are also applying filters.
Click Start Recording, Refresh Visuals, Copy Query.