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
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
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 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.