Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
Hi all 🙂
I created a line chart and a metrics chart where values change based on two selected dates.
For the two dates, I created two from & to tables with columns for each.
Then I created a measure to get the values I wanted.
The line chart came out just as I wanted.
However, the metrics chart looks like the image below.
The first month doesn't show the previous month's value and the last month adds an extra month.
I'll attach the file : pbix
Please let me know how to fix it if you can.
Thanks
Solved! Go to Solution.
Hi,
Please check the below image and the attached pbix file.
Thank you.
Hi,
Please check the below image and the attached pbix file.
Thank you.
can i ask one more thing??
i modify ratio dax to show ratio like ▲ 13.5 %
but all date columm shown like bwelow image
my modified dax
Hi,
Please try adding %, something like below, whether it suits your requirement.
ratio =
var _Alpha = DIVIDE ( ( [@_trend_cnt] - [@_trend_cnt_pm] ), [@_trend_cnt_pm] )
var _Beta = ABS(_Alpha)
RETURN
IF(_Alpha > 0, FORMAT(_Beta,"▲ #,##0.0%"), FORMAT(_Beta,"▼ #,##0.0%"))
Hi
Modifying the dax will turn it into text and show all dates in the column.
Hi,
Please try something like below.
ratio =
VAR _Alpha =
DIVIDE ( ( [@_trend_cnt] - [@_trend_cnt_pm] ), [@_trend_cnt_pm] )
VAR _Beta =
ABS ( _Alpha )
RETURN
IF (
NOT ISBLANK ( _Alpha ),
IF (
_Alpha > 0,
FORMAT ( _Beta, "▲ #,##0.0%" ),
FORMAT ( _Beta, "▼ #,##0.0%" )
)
)
it works!!
I couldn’t have done it without your help
really thank you 🙂
Thanks again 🙂
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 7 | |
| 4 | |
| 4 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 15 | |
| 9 | |
| 9 | |
| 7 | |
| 5 |