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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
alihijazi
Helper I
Helper I

creating charts

Hello I'm new to Power BI
I want to create charts for example:
a pivot table which displays the amount by category for the selected year and month as well as the YTD amount and the amount for the selected month but for last year and the YTD amount of the last year

Please advise

1 REPLY 1
greggyb
Resident Rockstar
Resident Rockstar

The forums are an area for discussion about specific features, problems, or concepts in Power BI.

 

The only appropriate response to such a broad question is a suggestion to google for "Power BI tutorial" to learn more about the products and how to do things. Additionally, it might be useful to peruse the documentation for the items which can directly address your questions.

 

Edit: Perhaps you might find the Microsoft-developed Power BI edX course helpful.

In general, you'll have to use Power Query to get data.

 

You mentioned YTD and prior year measures. The DAX functions which will support this are TOTALYTD() and CALCULATE() combined with SAMEPERIODLASTYEAR(). These all require a date dimension. Google for "Power Pivot date dimension" to understand the purpose, requirements, and usefulness of a date dimension.

 

If you run into specific problems in this process, feel free to start a new thread about that topic to get more focused help. As it stands though, the answer to your question *is* the product documentation and several already published tutorials.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.