Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

convert Level of Detail Fixed

Suppose i have table like this, the bold values is the ITEM_COST.. 

 

Basically, i need to get the SD costs by fixing the lod with the ITEMS then capturing all the ITEMS using the ITEM_COST in "SG"

Goal is to convert the SD costs from tableau into Power BI with an LOD:

 

SD costs = ABS({FIXED [ITEMS]: MIN(IF [Org]="SG" THEN [ITEM_COST] END)} * 1.21 * [QUANTITY_RATE])

 

 

  ORGORG  
ITEMS    QUANTITY_RATE   CD   SG     SD costs
1axc-21.2315.5-31
2vcd-3 4.7-14.1
3vfr-1 1.4-1.4


I will appreciate the help very much.

1 ACCEPTED SOLUTION
v-stephen-msft
Community Support
Community Support

Hi @Anonymous ,

 

Is your sample data in the following style? You can modify it to the following style.

7.png

 

Then create a calculated column

 

Column=ABS([QUANTITY_RATE]*[ORG value])

 

Or a measure

 

Measure=ABS(MAX('Table'[QUANTITY_RATE])*MAX('Table'[ORG value]))

 

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-stephen-msft
Community Support
Community Support

Hi @Anonymous ,


Could you tell me if your problem has been solved?
If it is, kindly Accept it as the solution. More people will benefit from it.
Or you are still confused about it, please provide me with more details about your problem.


Best Regards,
Stephen Tao

v-stephen-msft
Community Support
Community Support

Hi @Anonymous ,

 

Is your sample data in the following style? You can modify it to the following style.

7.png

 

Then create a calculated column

 

Column=ABS([QUANTITY_RATE]*[ORG value])

 

Or a measure

 

Measure=ABS(MAX('Table'[QUANTITY_RATE])*MAX('Table'[ORG value]))

 

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.