Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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! | |
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 133 | |
| 88 | |
| 85 | |
| 68 | |
| 64 |