Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hi all,
I am working on a power BI report using Analysis Services as my data source ( Jet OLAP cubes).
One of my measures is giving me an error in Power BI but works perfectly in Excel!
#ERROR! The Axis function was indirectly referenced from the context of a statement other than SELECT. Evaluation of expressions involving this function succeed only when indirectly triggered by a SELECT statement.
The measure is calculating % of column total and I am using it in a Matrix, the same way I am using it in a pivot table in Excel, where it works!!
Does anyone have any ideas how to make this work?
Thanks a lot
Monica
Solved! Go to Solution.
Hi @monicatanasescu ,
Based on the error message, it seems that your measure contains MDX function Axis function .
As power bi is only supported for DAX, so the measure with MDX will not work in power bi. You'd better create the measure with Dax in SSAS.
Best Regards,
Cherry
Hi @monicatanasescu ,
Based on the error message, it seems that your measure contains MDX function Axis function .
As power bi is only supported for DAX, so the measure with MDX will not work in power bi. You'd better create the measure with Dax in SSAS.
Best Regards,
Cherry
Hello, what you do if the source is an OLAP cube and not tabular
Makes sense! Thanks a lot
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
86 | |
78 | |
54 | |
39 | |
35 |
User | Count |
---|---|
102 | |
84 | |
48 | |
48 | |
48 |