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.
Hello,
I have a table visualization that has a few columns based on DAX measures.
It has 500K records.
I would like to export it to a CSV and would be happy to use the DAX stdio.
But...How do I "convert" the table visualization into a "regular" table to which I could query in the DAX studio?
Thanks,
Tamir
Solved! Go to Solution.
Sure, you would go into Modeling tab and then do a New Table. But, I would need to understand your source data and what you are doing in your table visualization. But, in theory it should just be something that uses the SUMMARIZE function.
https://msdn.microsoft.com/en-us/library/mt163696.aspx
Thank you!
That is precisely what I needed.
I did:
CostTable = SUMMARIZECOLUMNS(factsSalaries[Employee ID], factsSalaries[Employee Name],dimCalendar[MonthYear], "Cost USD", [TotTSAUSD])
and then with DAX Studio could extract the table into a CSV file.
Much appreciated,
Tamir
Why can't you just click on the ellipses (...) and select "Export data"?
Because of the 30K limitations. I have 500K records
You might want to check out the Power BI REST API:
https://msdn.microsoft.com/en-us/library/mt147898.aspx
Due to Organisational restriction, I am afraid it is not an option...
Is there a way to do it with DAX? something like a virtual table?
Sure, you would go into Modeling tab and then do a New Table. But, I would need to understand your source data and what you are doing in your table visualization. But, in theory it should just be something that uses the SUMMARIZE function.
https://msdn.microsoft.com/en-us/library/mt163696.aspx
Can we create a virtual/dynamic table and use it in measures in excel using DAX? Appreciate your response.
@Anonymous - Yes, I do it all the time. You just specify a VAR and set that equal to your table equation/filter. Then you can use it within a measure.
Thank you Greg for the swift response. Can I use VAR in "PowerPivot for excel"/Data Model window in calculation area(measures) section? Also, is this virtual table available in pivot table to present the data? could you please also give some examples. Thank you.
I don't do much in PowerPivot in Excel but if it is DAX code, then yes, you can use VAR. Now, actually feeding that dynamic table to a pivot table, that's probably not supported as I know you can't do that in Desktop even though I am a huge fan of allowing Table and Matrix visualizations to accept a Measure that returns a table as output. So, for example, I do a lot of this kind of thing:
Measure = VAR __table = FILTER('SomeTable',[Column] = "some value") RETURN MAXX(__table,[Some Column])
I am working on the solution in Excel. Thank you Greg for your help.
Hi Greg,
Please help me with the following:
Thank you.
Thank you Greg for the swift response. Can I use VAR in "PowerPivot for excel"/Data Model window in calculation area(measures) section? Also, is this virtual table available in pivot table when I have to analyze/present the data in excel?
could you please also give some examples. Thank you.
Thank you Greg for the swift response. Can I use VAR in "PowerPivot for excel"/Data Model window in calculation area(measures) section? could you please also give some examples. Thank you.
Thank you!
That is precisely what I needed.
I did:
CostTable = SUMMARIZECOLUMNS(factsSalaries[Employee ID], factsSalaries[Employee Name],dimCalendar[MonthYear], "Cost USD", [TotTSAUSD])
and then with DAX Studio could extract the table into a CSV file.
Much appreciated,
Tamir
Oh yeah. Good point!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
99 | |
75 | |
73 | |
49 |
User | Count |
---|---|
145 | |
109 | |
109 | |
90 | |
64 |