Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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
Solved! Go to Solution.
Hi @yogiceg,
I'm attaching a pbix file with my solution.
The final output was this:
Proud to be a Super User!
Hi @yogiceg,
I'm attaching a pbix file with my solution.
The final output was this:
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
Proud to be a 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")
Proud to be a Super User! | |
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.