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
yogiceg
Frequent Visitor

Power BI Visualization - Product materialization help

Hi Team

i am new to Power BI. Pls refer below excel file & I would like to visualize YYYY-MM vs percentage in power BI. In that excel file, i am doing it by manually (counting YYYY-MM in two columns) & wants Power BI to make such calculation directly from the data sets. Pls help & advance thanks.

 

Mail ID : yoganandceg@gmail.com

Mobile/Whatsapp no : +91-9894030865

 

https://talemaindia-my.sharepoint.com/:x:/r/personal/yoganand_design_talemaindia_net/Documents/Deskt... 

1 ACCEPTED SOLUTION
_AAndrade
Super User
Super User

Hi @yogiceg,

I'm attaching a pbix file with my solution.
The final output was this:

_AAndrade_0-1730110849784.png

 





Did I answer your question? Mark my post as a solution! Kudos are welcome.

Proud to be a Super User!




View solution in original post

5 REPLIES 5
_AAndrade
Super User
Super User

Hi @yogiceg,

I'm attaching a pbix file with my solution.
The final output was this:

_AAndrade_0-1730110849784.png

 





Did I answer your question? Mark my post as a solution! Kudos are welcome.

Proud to be a Super User!




Great. If my post solved your issue, please mark my post as a solution and give me a Kudo if I deserve one.
Thanks





Did I answer your question? Mark my post as a solution! Kudos are welcome.

Proud to be a Super User!




Hi @_AAndrade 

Thanks for the details. Very useful.

PijushRoy
Super User
Super User

Hi @yogiceg 

In calculated column, please use below DAX

YYYY-MM = 
YEAR('YourTable'[DateColumn])&"-"&MONTH('YourTable'[DateColumn])

 

In Power Query Custom Column, use below M Code

Date.ToText([DateColumn],"yyyy-MM")

PijushRoy_0-1730108363067.png

 

 




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





Hi @PijushRoy 

Thanks.

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