The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hiya,
I'm having trouble with a line chart refusing to show values as zero instead of blanks. I know many people on here have had similar issues, but none of the solutions seem to work on this one so I'd be super grateful if anyone can suss it out!
I've created some dummy data but can't upload the pbix file so please let me know if you need any additional info.
month | id | perm_temp | newstarter |
Jan-22 | id01 | perm | |
Jan-22 | id02 | temp | |
Jan-22 | id03 | perm | new to org |
Feb-22 | id01 | perm | |
Feb-22 | id02 | temp | |
Feb-22 | id03 | perm | |
Feb-22 | id04 | temp | new to dep |
Mar-22 | id01 | perm | |
Mar-22 | id02 | temp | |
Mar-22 | id03 | perm | |
Mar-22 | id04 | temp | |
Apr-22 | id01 | perm | |
Apr-22 | id02 | temp | |
Apr-22 | id03 | perm | |
Apr-22 | id04 | temp | |
Apr-22 | id05 | perm | new to org |
Apr-22 | id06 | temp | new to org |
Apr-22 | id07 | perm | new to dep |
May-22 | id01 | perm | |
May-22 | id02 | temp | |
May-22 | id03 | perm | |
May-22 | id04 | temp | |
May-22 | id05 | perm | |
May-22 | id06 | temp | |
May-22 | id07 | perm |
*note that the empty cells in newstarter are null
I created a measure 'Starters' to plot the chart (as you can see, I already tried a number of variations and had a couple still commented out in there):
Solved! Go to Solution.
For removing blank values, in the below link, I explained in step by step.
Thanks, however I need to keep the blank values for some of the other stuff. Someone else sorted it with using a separate date table though so all good. Cheers
Legend, thank you!