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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
RuchiBagaria
New Member

calculated table for last 6 months not in DAX measure

I have a formula,

 

FinalValue = (A/B)*C = (Total sales in last 6 months/no. of transactions in 6 months)* no. of customers with zero sales.

A=total sales in last 6 months

B=no. of transactions in 6 months

C=no. of customers with zero sales.

I can do it in DAX but there are issues. Now, I need to do this in a calculated table.

My main table called 'MergeTable' has customer, item, channel, year, month, sales.

 

A and B are calcualted at Item level ignoring the Customer

C is calculated at lowest granularity i.e. Customer level.

 

Please help me create a calculated table which can show A, B values for each row at Item level and C values at customer level.

 

 

 

1 REPLY 1
v-shex-msft
Community Support
Community Support

Hi @RuchiBagaria ,

Can you please share a pbix or some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Kudoed Authors