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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors