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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
pabburi
Frequent Visitor

Required Output As screenshot

Hi All,

 

I Have a dataset as the first table in the scrren shot and the required output should match with the template in the second table.

 

Could you guys please help in with the calculated fields as well.

1)AQ=TQ/No.Of days in the Month

2)% of Qty=TQ*100/ENTRY

 

Power Bi Forum.PNG

1 ACCEPTED SOLUTION
v-xicai
Community Support
Community Support

Hi @pabburi ,

 

You can create columns like DAX below.

 

No of days in month = DAY(EOMONTH(Table1[Date],0))

 

Avg Qty = Table1[Total Qty]/Table1[No of days in month]

 

% of Qty = Table1[Total Qty]*100/Table1[Entity]

 

Then choose Matrix visual to display the result,maybe you need to rename the Total Qty and Entity.

 

4.png5.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Here is my test pbix: https://qiuyunus-my.sharepoint.com/:u:/g/personal/pbipro_qiuyunus_onmicrosoft_com/EezjpC9FrJlMhUBpor...

 

Best Regards,

Amy

 

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

5 REPLIES 5
v-xicai
Community Support
Community Support

Hi  @pabburi ,

 

Does that make sense? If so, kindly mark my answer as a solution to help others having the similar issue and close the case. If not, let me know and I'll try to help you further.

 

Best regards

Amy

v-xicai
Community Support
Community Support

Hi @pabburi ,

 

You can create columns like DAX below.

 

No of days in month = DAY(EOMONTH(Table1[Date],0))

 

Avg Qty = Table1[Total Qty]/Table1[No of days in month]

 

% of Qty = Table1[Total Qty]*100/Table1[Entity]

 

Then choose Matrix visual to display the result,maybe you need to rename the Total Qty and Entity.

 

4.png5.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Here is my test pbix: https://qiuyunus-my.sharepoint.com/:u:/g/personal/pbipro_qiuyunus_onmicrosoft_com/EezjpC9FrJlMhUBpor...

 

Best Regards,

Amy

 

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

pabburi
Frequent Visitor

@parry2k 

 

sharing the link

 

File name Dataset

Spoiler
 

https://drive.google.com/open?id=1-3iC4XCoAVeN-C1pqhnBxapveV-0q6V6

mussaenda
Super User
Super User

can you provide the screenshot dataset in excel ?

parry2k
Super User
Super User

@pabburi can you share your data in excel sheet nd will get you the solution.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.