Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
Saeed A
i have a line graph which needs to display past 2 months data and current month data
i have the formula as well but it is not showing any graph
https://drive.google.com/file/d/1lTcK5CQsdl3rteKc5GLimkEmjcjPDGR7/view?usp=sharing
Solved! Go to Solution.
@greeshma ,
The first step is to click on the "View details" link, says there is an error in comparing dax: you are trying to compare integer and text.
The selected slicer gets the month name and tries to compare it to the month number.
Hi @Anonymous ,
the DAX error is that [Selected Slicer] returns the MonthName and not the Month (No.)
Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials
@greeshma ,
The first step is to click on the "View details" link, says there is an error in comparing dax: you are trying to compare integer and text.
The selected slicer gets the month name and tries to compare it to the month number.
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 24 | |
| 22 | |
| 20 | |
| 18 | |
| 13 |
| User | Count |
|---|---|
| 69 | |
| 57 | |
| 42 | |
| 42 | |
| 30 |