<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: R Control Chart in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/R-Control-Chart/m-p/144527#M4968</link>
    <description>&lt;P&gt;Thank you for all of this information! I am going to try and take some time this weekend to put into play your examples.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Much appreciated! Ill reply back with any progress I can make.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;</description>
    <pubDate>Fri, 17 Mar 2017 16:01:21 GMT</pubDate>
    <dc:creator>tglah</dc:creator>
    <dc:date>2017-03-17T16:01:21Z</dc:date>
    <item>
      <title>R Control Chart</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/R-Control-Chart/m-p/139088#M4804</link>
      <description>&lt;P&gt;HelloPBI Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I havent found too much info on R Control Charts in this forum and am wondering if there is anyone out there that could copy&amp;amp;paste one?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2017 21:16:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/R-Control-Chart/m-p/139088#M4804</guid>
      <dc:creator>tglah</dc:creator>
      <dc:date>2017-03-08T21:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: R Control Chart</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/R-Control-Chart/m-p/139153#M4808</link>
      <description>&lt;P&gt;Here's is an example of creating a histogram with a&amp;nbsp;density distribution line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;hist(dataset$Age, 
     main = "Customer Count by Age",
     ylab="Customer Count", 
     xlab="Customer Age",
     xlim = c(18, 100),
     border="black",
     breaks=20,
     col=c("lightyellow", "lightblue"), 
     las=1,
     probability = TRUE
)

lines(density(dataset$Age),lty="dotdash", lwd=4, col="red")&lt;/PRE&gt;&lt;P&gt;Here's an example of creating a barblot&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;barplot(dataset$'Sales Revenue',        
        names.arg = dataset$'Age Group', 
        main = "Sales Revenue by Customer Age Group",
        col = c("red","yellow","orange","blue", "green")
)

minValue &amp;lt;- 0
maxValue &amp;lt;- max(as.vector(dataset$'Sales Revenue'))
yTicks &amp;lt;- seq(from=minValue, to = maxValue, length.out = 10)
yTicks &amp;lt;- pretty(yTicks)
yTickLabels &amp;lt;- paste("$",format(yTicks/1000, , big.mark=","), "K",sep="")
axis(2, at=yTicks, labels = yTickLabels, lty = 1, las=1, cex.axis=0.7 )&lt;/PRE&gt;&lt;P&gt;Of course, these are simple examples using the built-in R graphics functionality. You can also use a richer graphics package such as lattice or ggplot2 to create some really detailed charts and graphs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this what you are looking for?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2017 23:34:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/R-Control-Chart/m-p/139153#M4808</guid>
      <dc:creator>TedPattison</dc:creator>
      <dc:date>2017-03-08T23:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: R Control Chart</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/R-Control-Chart/m-p/139758#M4831</link>
      <description>&lt;P&gt;Thanks Ted, this is along the same lines, but I am interested more in an "xbar" chart and also looking for a simple R script to create a Pareto chart for my customers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the scripts for the Histogram and Bar Plot, I will also be adding this to my arsenal.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2017 16:45:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/R-Control-Chart/m-p/139758#M4831</guid>
      <dc:creator>tglah</dc:creator>
      <dc:date>2017-03-09T16:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: R Control Chart</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/R-Control-Chart/m-p/142553#M4912</link>
      <description>&lt;P&gt;&lt;EM&gt;RE:&amp;nbsp; also looking for a simple R script to create a Pareto chart&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;In order to use any chart -that is part of a R Visualization package library - it's logical to first make sure it's installed.&lt;/P&gt;&lt;PRE&gt;install.packages('&amp;lt;yourPackage&amp;gt;')&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;Now considering the huge amount of R package visualization libraries, there may be a few ways to reproduce what you want. Note that I don't consider myself an R guru at this stage, still&amp;nbsp;here's a couple of basic samples.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;qcc library...&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="qccPareto.png" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/33055iF254CCD1EF9EFED1/image-size/large?v=v2&amp;amp;px=999" role="button" title="qccPareto.png" alt="qccPareto.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;library(qcc)
    defect &amp;lt;- c(80, 27, 66, 94, 33)
    names(defect) &amp;lt;- c("price code", "schedule date", "supplier code", "contact num.", "part num.")
    pareto.chart(defect, ylab = "Error frequency", col=heat.colors(length(defect)))&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;ggplot2 library...&lt;BR /&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ggplot2Pareto.png" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/33056i90AE1A686BE4FE11/image-size/large?v=v2&amp;amp;px=999" role="button" title="ggplot2Pareto.png" alt="ggplot2Pareto.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;PRE&gt;library(ggplot2)

counts  &amp;lt;- c(80, 27, 66, 94, 33)
defects &amp;lt;- c("price code", "schedule date", "supplier code", "contact num.", "part num.")

dat &amp;lt;- data.frame(
  count = counts,
  defect = defects,
  stringsAsFactors=FALSE
)

dat &amp;lt;- dat[order(dat$count, decreasing=TRUE), ]
dat$defect &amp;lt;- factor(dat$defect, levels=dat$defect)
dat$**bleep** &amp;lt;- cumsum(dat$count)
dat

ggplot(dat, aes(x=defect)) +
  geom_bar(aes(y=count), fill="blue", stat="identity") +
  geom_point(aes(y=**bleep**)) +
  geom_path(aes(y=**bleep**, group=1))&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;I haven't played much with x-Bar chart though I'll check if I can find something... Anyway hope this helps&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2017 20:33:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/R-Control-Chart/m-p/142553#M4912</guid>
      <dc:creator>MawashiKid</dc:creator>
      <dc:date>2017-03-14T20:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: R Control Chart</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/R-Control-Chart/m-p/143998#M4942</link>
      <description>&lt;P&gt;RE : xBarChart&lt;/P&gt;&lt;P&gt;In true life scenario, I'd say the following data would probably be obtained as a result&lt;BR /&gt;of fancy mathemathic algorithm formula... though I'll leave that to Math PhDs...&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://community.fabric.microsoft.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;BR /&gt;So for for simplicity I just added a list of subgroup manually...&lt;/P&gt;&lt;P&gt;So here we go...&lt;/P&gt;&lt;PRE&gt;#declare qcc library:

library(qcc)

# Load a mock list of 10 subgroup data manually:

sg1 &amp;lt;- c(1.397742,1.399917,1.278918,1.279828) # Fill in subgroup 1 data!
sg2 &amp;lt;- c(1.283877,1.307215,1.341566,1.396107) # Fill in subgroup 2 data!
sg3 &amp;lt;- c(1.313634,1.278839,1.242498,1.331201) # Fill in subgroup 3 data!
sg4 &amp;lt;- c(1.245943,1.303432,1.390168,1.298949) # Fill in subgroup 4 data!
sg5 &amp;lt;- c(1.188624,1.226905,1.217450,1.284127) # Fill in subgroup 5 data!
sg6 &amp;lt;- c(1.287875,1.283185,1.234186,1.314055) # Fill in subgroup 6 data!
sg7 &amp;lt;- c(1.276711,1.284376,1.305309,1.249184) # Fill in subgroup 7 data!
sg8 &amp;lt;- c(1.312219,1.297509,1.272367,1.371223) # Fill in subgroup 8 data!
sg9 &amp;lt;- c(1.378350,1.312981,1.381944,1.268875) # Fill in subgroup 9 data!
sg10 &amp;lt;- c(1.332196,1.268824,1.299608,1.329053) # Fill in subgroup 10 data!

# Include those subgroups into a my.data mock list through rbind

my.data &amp;lt;- rbind(sg1,sg2,sg3,sg4,sg5,sg6,sg7,sg8,sg9,sg10)

# Draw the R Chart and calculate relevant metrics

q1 &amp;lt;- qcc(my.data, type="R", nsigmas=3)&lt;/PRE&gt;&lt;P&gt;which should generate similar R chart:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RChart.png" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/33380i5D6C60ABC3ACA130/image-size/large?v=v2&amp;amp;px=999" role="button" title="RChart.png" alt="RChart.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;then add following to ldraw the X-BAR chart...&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;# Draw the X-Bar Chart and calculate relevant metrics
q2 &amp;lt;- qcc(my.data, type="xbar", nsigmas=3)&lt;/PRE&gt;&lt;P&gt;which should generate following X-Bar Chart:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xBar.png" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/33382i63C7DDF6F3ED2629/image-size/large?v=v2&amp;amp;px=999" role="button" title="xBar.png" alt="xBar.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Finally:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;# Establish the LSL and USL as set by customer specs, then
# draw the process capability chart and calculate metrics:

lsl &amp;lt;- 1.31 # Fill in a mock LSL here!
usl &amp;lt;- 1.32 # Fill in a mock USL here!

process.capability(q2, spec.limits=c(lsl,usl))&lt;/PRE&gt;&lt;P&gt;which should end up with following:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ProcessCap.png" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/33383iFACB18CC0052735A/image-size/large?v=v2&amp;amp;px=999" role="button" title="ProcessCap.png" alt="ProcessCap.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps...&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2017 21:09:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/R-Control-Chart/m-p/143998#M4942</guid>
      <dc:creator>MawashiKid</dc:creator>
      <dc:date>2017-03-16T21:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: R Control Chart</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/R-Control-Chart/m-p/144527#M4968</link>
      <description>&lt;P&gt;Thank you for all of this information! I am going to try and take some time this weekend to put into play your examples.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Much appreciated! Ill reply back with any progress I can make.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2017 16:01:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/R-Control-Chart/m-p/144527#M4968</guid>
      <dc:creator>tglah</dc:creator>
      <dc:date>2017-03-17T16:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: R Control Chart</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/R-Control-Chart/m-p/145505#M4994</link>
      <description>&lt;P&gt;I have been able to create the R and XBar charts in PowerBI R Visuals, but still need some adjustments as it doesnt look right to me (data not displaying as expected).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;library(qcc)&lt;/P&gt;&lt;P&gt;months&amp;lt;- c("Jan", "Feb", "Mar", "Apr","May", "Jun","Jul","Aug","Sep","Oct","Nov","Dec")&lt;/P&gt;&lt;P&gt;qcc(dataset, type="R", nsigmas=1, labels=months, xlab= "Month", ylab = "Service Level %", title = "Phone Call SVL", digits=3)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="R Chart 2017-03-20_9-34-56.jpg" style="width: 480px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/33747iF45F8AB3E5A3286E/image-size/large?v=v2&amp;amp;px=999" role="button" title="R Chart 2017-03-20_9-34-56.jpg" alt="R Chart 2017-03-20_9-34-56.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea how to get the Y axis to show as percentages? My data is in percentages as you can see when selecting a simple Line Chart from the PowerBI Visuals.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Line 2017-03-20_9-45-45.jpg" style="width: 420px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/33750i9BED27013A470DCE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Line 2017-03-20_9-45-45.jpg" alt="Line 2017-03-20_9-45-45.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for all your assistance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2017 13:52:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/R-Control-Chart/m-p/145505#M4994</guid>
      <dc:creator>tglah</dc:creator>
      <dc:date>2017-03-20T13:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: R Control Chart</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/R-Control-Chart/m-p/149766#M5096</link>
      <description>&lt;P&gt;Sorry for late response. For the sake of simplicity, I mainly used mock data which I entered&lt;BR /&gt;manually. The idea was basically to create a series of 4 weeks subsets over a 12 months period sort if thing...&lt;BR /&gt;We both agree that a real life scenario would have gone through a much fancier scenario such as querying data&lt;BR /&gt;from a server and even adding conversion at some stage. I used numeric for simplicity.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Also I noticed that even if &lt;STRONG&gt;qcc&lt;/STRONG&gt; library offers a wide variety of statisitic chart [&lt;STRONG&gt;R&lt;/STRONG&gt;, &lt;STRONG&gt;xBar&lt;/STRONG&gt;,...], it doesn't seem to have&lt;BR /&gt;any &lt;STRONG&gt;qcc - y axis&lt;/STRONG&gt; formatting options parameter as you would probably find using &lt;STRONG&gt;scaling_y_continuous&lt;/STRONG&gt; in &lt;STRONG&gt;ggplot2&lt;/STRONG&gt; library.&lt;BR /&gt;So in this case I don't believe y axis percentage formatting could be done in one shot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My best bet would be to define the qcc : q1 R Chart and q2 xBar &amp;nbsp;in respectice class with a &lt;STRONG&gt;plot=False&lt;/STRONG&gt; attribute&lt;/P&gt;&lt;PRE&gt; library(qcc)
 Jan &amp;lt;- c(0.837742,0.839917,0.728918,0.729828) # Fill in subgroup January data!
 Feb &amp;lt;- c(0.783877,0.807215,0.841566,0.836107) # Fill in subgroup February data!
 Mar &amp;lt;- c(0.813634,0.728839,0.742498,0.831201) # Fill in subgroup March data!
 Apr &amp;lt;- c(0.745943,0.803432,0.830168,0.798949) # Fill in subgroup April data!
 May &amp;lt;- c(0.688624,0.726905,0.717450,0.784127) # Fill in subgroup May data!
 Jun &amp;lt;- c(0.787875,0.783185,0.714186,0.814055) # Fill in subgroup June data!
 Jul &amp;lt;- c(0.726711,0.784376,0.805309,0.749184) # Fill in subgroup July data!
 Aug &amp;lt;- c(0.812219,0.797509,0.722367,0.871223) # Fill in subgroup August data!
 Sep &amp;lt;- c(0.878350,0.812981,0.881944,0.768875) # Fill in subgroup September data!
 Oct &amp;lt;- c(0.832196,0.768824,0.799608,0.729053) # Fill in subgroup October data!
 Nov &amp;lt;- c(0.813634,0.728839,0.742498,0.831201) # Fill in subgroup November data!
 Dec &amp;lt;- c(0.726711,0.784376,0.805309,0.749184) # Fill in subgroup December data!
 
 # Include those subgroups into a my.data mock list through rbind
 
 dataset &amp;lt;- rbind(Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec)
 months&amp;lt;- c("Jan", "Feb", "Mar", "Apr","May", "Jun","Jul","Aug","Sep","Oct","Nov","Dec") 
&lt;BR /&gt; # assign q1
 q1 &amp;lt;- qcc(dataset, type="R", nsigmas=1, labels=months, xlab= "Month", ylab = "Service Level %", title = "Phone Call SVL", digits=3, label.limits = c("5%", "14%"),plot=FALSE)
 # assign q2&lt;BR /&gt; q2 &amp;lt;- qcc(dataset, type="xbar", nsigmas=1, labels=months, xlab= "Month", ylab = "Service Level %", title = "Phone Call SVL", digits=3, label.limits = c("76%", "80%"), plot=FALSE)&lt;/PRE&gt;&lt;P&gt;and then use each &lt;STRONG&gt;q1&lt;/STRONG&gt; &amp;amp; &lt;STRONG&gt;q2&lt;/STRONG&gt; with a plot method allowing to erase the &lt;STRONG&gt;y axis&lt;/STRONG&gt; and redifine a new one&amp;nbsp;with somekind of thicks.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;plot(q1, yaxt="n", ... , xlab="Months", ylab="Service Levels %", title="Phone Call SVL", label.limits= c("5%", "13%"))&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RChart.png" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/34938i192D3123A8723E7D/image-size/large?v=v2&amp;amp;px=999" role="button" title="RChart.png" alt="RChart.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;PRE&gt;plot(q2, yaxt="n", ...,  xlab="Months", ylab="Service Levels %", title="Phone Call SVL", label.limits= c("76%", "80%"))&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xBar.png" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/34939i7F3952DC7DC1D516/image-size/large?v=v2&amp;amp;px=999" role="button" title="xBar.png" alt="xBar.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Tom Hopper has written a blog on &lt;STRONG&gt;rewriting qcc plot using ggplot2 and grid,&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp; &lt;A href="https://tomhopper.me/2014/03/03/rewriting-plot-qcc-using-ggplot2-and-grid/" target="_blank"&gt;https://tomhopper.me/2014/03/03/rewriting-plot-qcc-using-ggplot2-and-grid/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;though I haven't got a chance to dive deep into it. I wish I could bring you an easiy solution on &lt;STRONG&gt;y axis&lt;/STRONG&gt; percentage formatting&lt;BR /&gt;though I haven't found one with &lt;STRONG&gt;qcc&lt;/STRONG&gt;. Sorry.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2017 00:26:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/R-Control-Chart/m-p/149766#M5096</guid>
      <dc:creator>MawashiKid</dc:creator>
      <dc:date>2017-03-28T00:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: R Control Chart</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/R-Control-Chart/m-p/287739#M8449</link>
      <description>&lt;P&gt;&lt;EM&gt;edited: learned how to refer to individual column in dataset and how to define x-axis labels. still, the sample order is wrong..&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;edited2: got it solved myself. details below to other learners like me.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been trying to create xbar.one (individual) chart with power bi / qcc, with no luck so far. It seems values inside dataset somehow automatically get rearranged to ascending order. If I provide the values in script manually, chart looks fine. But if they come from Excel or SQL table (power bi's automatically formed dataset), values get rearranged. &lt;STRIKE&gt;I'd also like to bind the values to labels on x-axis, but&amp;nbsp;haven't found the way how.&lt;/STRIKE&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm new to R.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Samples:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;360.1&lt;/P&gt;&lt;P&gt;360.2&lt;/P&gt;&lt;P&gt;360.0&lt;/P&gt;&lt;P&gt;359.8&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/65876i4F48B3EEE75A5519/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Solved:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;newdata &amp;lt;- dataset[order(dataset$SERIALID),]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;library(qcc)&lt;/P&gt;&lt;P&gt;x &amp;lt;- c(newdata$SERIALID)&lt;/P&gt;&lt;P&gt;s &amp;lt;- c(newdata$NUM_VALUE)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;qcc(s, type="xbar.one", labels=x)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- kari&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2017 10:27:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/R-Control-Chart/m-p/287739#M8449</guid>
      <dc:creator>makika</dc:creator>
      <dc:date>2017-10-23T10:27:55Z</dc:date>
    </item>
  </channel>
</rss>

