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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register 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
PBIApril_Carousel

Power BI Monthly Update - April 2025

Check out the April 2025 Power BI update to learn about new features.

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

Find out what's new and trending in the Fabric community.