Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Solved! Go to Solution.
You are right @az38 . Account count is in Text format but when I tried to put " " in DAX so It gives me login credential error.
@shantanu97 , Please put 300 in double quotes because it's a text.
there is access restriction to your OLAPs in attached pbix, but I can suggest that your AccountCode is a text
If so, either change date type to number or use quotas in sentence
Cost of goods sold(COGS) = CALCULATE(SUM('OLAP CUBE_Finance_WB'[Amount]), FILTER('OLAP Account','OLAP Account'[AccountCode]="300"))
You are right @az38 . Account count is in Text format but when I tried to put " " in DAX so It gives me login credential error.
@shantanu97 , Please put 300 in double quotes because it's a text.
Hi @shantanu97 ,
Looks like your relationships are not right therefore te filter in this measure is not working.
Your current relationship: OLAP ACCOUNT to OLAP CUBE FINANCE WB table
But, in your dax you are trying to use filter other way round.
Please work on your data model to get the calculations right.
Thanks,
Pragati
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
97 | |
65 | |
45 | |
39 | |
31 |
User | Count |
---|---|
164 | |
111 | |
61 | |
53 | |
38 |