-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: Column Hierarchies filtered to segment_number = 0 #108
Comments
The sad reality is that I don't remember. |
Thanks for the reply, Marco. Yes, I noticed that segment 0 contains a relatively high value and segment 1 contains a small value. Would it be more accurate to do a sum of these values? I wouldn't think it would be too much of a burden on performance. |
Does it really matter? :) |
Not sure how much it matters. Just was looking at the code and thought it was odd that it had that filter. Hmm, interesting about the new info functions. It would be great to have dax.guide updated with syntax examples for these functions. For instance, how to select specific columns and place filters on them (and of course the basic 'SELECT *' code below). EVALUATE |
The problem is always the time! |
At this point, it wouldn't be possible to replace DMVs with INFO functions for vertipaq analyzer as the INFO functions is missing the DISCOVER_STORAGE_TABLE_COLUMN_SEGMENTS DMV with necessary info (at least I haven't seen it). Not sure if this is part of a future plan. Also, I'm not sure what the advantage is for using the INFO functions as they extract the same data as the DMVs. Perhaps one benefit would be using COLUMNSTATISTICS() as it has useful info with no parsing needed. |
I guess that the reason is permissions. It's likely you can invoke the INFO functions more easily (lower permissions) than DMVs going forward. But I don't know much more, Microsoft just published these functions without much additional info. We look forward to getting more news. I agree that we'll not change anything (also for compatibility reasons) for a while... |
Ah good point on permissions. That makes sense. I think just that DISCOVER DMV and something showing table row counts would be all that's needed for vertipaq analyzer to use these new functions. |
Why does the logic for column hierarchies filter to segment_number = 0? (see from line 830 in the code below)
VertiPaq-Analyzer/src/Dax.Model.Extractor/DmvExtractor.cs
Line 839 in a9df144
The text was updated successfully, but these errors were encountered: