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
radruss15
Regular Visitor

Add dimension to 2 measures on same record

I have 9 tables of data with costs:

Act Material CostEst Material CostQuote Material Cost
Act Labor CostEst Labor CostQuote Labor Cost
Act Sub Contract CostEst Sub Contract CostQuote Sub Contract Cost

I have put a cost type column in each table (Material, Labor, Sub Contract). They are all linked to a job lookup table and a cost type lookup table. I have measures that total Act Costs, Est Cost, and Quote Costs so I can get a nice table like this (filtered for an individual job)

 

Annotation 2020-02-26 111738.png

 

Is there a way to use a DAX expression to split the data from the labor tables into 2 dimensions based on the value of the cost type?

3 REPLIES 3
v-kelly-msft
Community Support
Community Support

Hi @radruss15 ,

 

Many functions may meet,such as "filter","summarize","group by",can you show me more details?

 

Best Regards,
Kelly
 
Did I answer your question? Mark my post as a solution!
bfernandez
Resolver II
Resolver II

I am a bit confused by your question, what are you trying to make it look like exactly?

 

I may have a solution which is to use the SWITCH DAX function.

Check out the documentation here.

 

I would use the function to seperate it into the categories you need, and then apply it to your rows.

Anonymous
Not applicable

I agree with @bfernandez , give a desired output because the question is difficult to follow

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.