I need your help to find a problem I have with an Analysis Service cube: the cube contains all the records returned by the applied query, with their dimensions. If I create from Power BI Desktop a connection against the cube and add one by one the dimensions, the records displayed are all and correct but, when I add a measure from the cube, not all the records are displayed, only a few (example: the total number of records is 250.000 and only 6.700 are displayed).
Does anyone know what could be happening, what is the problem and how to solve it?
Thank you very much.
Hi @Raul ,
I don't have any experience with AS Cubes, but I do know that Power BI, by default, will only display rows in a visual where a measure resolves to a value, not NULL/BLANK.
For example, this table:
With this measure:
_thingyCount = CALCULATE( DISTINCTCOUNT(table[ID]), table[thingy] = "A" )
Will display this:
A few options:
1) You can right-click on a dimension that is in your visual from the Values list and check 'Show items with no data', to get something like this:
2) You can write your measure so that it resolves to zero if it would otherwise resolve to NULL/BLANK by just adding a '+ 0' at the end of it, to get something like this:
3) You can accept that PBI is only showing you relevant entries and communicate this to report users accordingly.
Thanks @BA_Pete for your help but this don't solve my problem. I think it is a problem in the connection or in the cube that filters the obtained data but I don't know how to find the exact point where to look at it.
Hi @Raul ,
What is the connection mode you are connecting to AS? If it is a live connection, try to use import mode to import data, then create the data model and check if the data is the same as the live connection.
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
So many events that are happening this month - don't miss out!
Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.
Your chance to join an engaging competition of Power Platform enthusiasts.