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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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