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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
adii
Helper I
Helper I

Problem with visual plot (Dax Query)

Hello , I have problem with visual , I don't understand why visual shows a wrong .. . In Dad query total is correct, but I couldn't plot graph. 

On photo I show my dax query and windows with wrong information  

IMG_3041.jpeg

 

IMG_3042.jpeg

Pls help 

 

2 REPLIES 2
Anonymous
Not applicable

Hi @adii ,

 

To troubleshoot this, consider the following steps:

  1. Review the Date Function Usage: Ensure that the function in your DAX query is receiving the correct year, month, and day arguments. The function syntax should be DATE function (DAX) - DAX | Microsoft Learn . Each argument must be an integer, and the resulting date must be within the acceptable date range for Power BI.

  2. Check Data Types: Verify that the columns or values you're using as arguments for the function are of the correct data type (i.e., integers for year, month, and day). If you're deriving these values from other columns, ensure those columns are correctly formatted or cast them to integers using the or functions.

  3. Validate Date Range: Ensure that the date being generated by the function falls within a valid range. Power BI can handle dates from January 1, 1900, to December 31, 9999. If your calculation might result in dates outside this range, you'll need to adjust your logic.

You can try changing the measure:

 

...
selected_end_month= EDATE(_las_date,-1)
...

 

 

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

lbendlin
Super User
Super User

You can start here Power BI Antipatterns #9: Filtering whole tables, part I – XXL BI

 

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).

Do not include sensitive information or anything not related to the issue or question.

If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...

Please show the expected outcome based on the sample data you provided.

Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.