Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello community,
Client has a column chart in which they want to display a selected date grain (field parameter called 'Grain Selector'[Grain]) on the x-axis, and a selected measure (field parameter called 'Measure Selector'[Measure]) on the y-axis.
Grain has 3 values: Year, Quarter, and Month.
Measure has 2 values: Total Profit, and Total Units
When they select Grain = Year, they want to show the measure for a set number of display years, say 1
When they select Grain = Quarter, they want to show the measure FOR A DIFFERENT NUMBER of display quarters, say 3
Ditto for Grain = Month
I tried the following DAX measure (between rows of ***):
***
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
Please show the expected outcome based on the sample data you provided.
https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523
Ah, thank you. I noticed they removed the attachment button (where I was going to provide my .pbix) but had no idea they're reserving this for MS or Super User. Interesting. I've uploaded the .pbix to google cloud storage here: https://drive.google.com/file/d/1JCcR88yvpOwj-p6HMSY_GdhjB16NKMwC/view?usp=sharing
That file seems to work as you intended. How can I reproduce the error?
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 6 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 24 | |
| 11 | |
| 11 | |
| 9 | |
| 8 |