The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Solved! Go to Solution.
Hi @Anonymous ,
I've assumed some data:
Facttable:
_SlicerTable:
1.Using the dax expression you provided I created the calculated column ‘FY24_AOP_Rate’
2.Using the dax expression you provided I created the measure ‘_SumxAmount’, The function successfully computed the data I assumed.
Make sure the correct columns are applied in the lookupvalue function, there should be a many-to-one relationship between the fact sheet and the dimension sheet. If there are multiple rows of data that satisfy the filter criteria, the lookupvalue function will only return the first row of data that matches, which can make the result of the calculation wrong.
Best Regards,
Wenbin Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
I've assumed some data:
Facttable:
_SlicerTable:
1.Using the dax expression you provided I created the calculated column ‘FY24_AOP_Rate’
2.Using the dax expression you provided I created the measure ‘_SumxAmount’, The function successfully computed the data I assumed.
Make sure the correct columns are applied in the lookupvalue function, there should be a many-to-one relationship between the fact sheet and the dimension sheet. If there are multiple rows of data that satisfy the filter criteria, the lookupvalue function will only return the first row of data that matches, which can make the result of the calculation wrong.
Best Regards,
Wenbin Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
you cannot/should not create calculated columns from filters/slicers/measures. Instead, let the data model do its job.
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information or anything not related to the issue or question.
If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Please show the expected outcome based on the sample data you provided.
Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...
User | Count |
---|---|
27 | |
10 | |
8 | |
7 | |
5 |
User | Count |
---|---|
33 | |
14 | |
11 | |
10 | |
8 |