Open Side Menu
Skip to contentBrand Logo
Forums
Inspiration
Ideas
Communities
Blogs
Learning
Support
RegisterSign In
  1. Microsoft Fabric Community
  2. Power BI forums
  3. Galleries
  4. R Script Showcase
fathomson's avatar
fathomson
Advocate II
9 years ago

Schedule view

  Description A relatively simple visualization to show start-stop of events at locations. Can be roomscheduling but also a production process with specific states at a given time. Although i...
schedules_in_powerbi_with_r.pbix381 KB
General R Visualizations
C_Houghton's avatar
C_Houghton
Frequent Visitor
8 years ago

Hi there,

 

I installed that package - looks slightly better:

 

Error Details:

R script error.

Loading required package: ggplot2

Loading required package: grid

Loading required package: gridExtra

Warning message:

package 'gridExtra' was built under R version 3.4.2

Loading required package: wesanderson

Warning message:

package 'wesanderson' was built under R version 3.4.2

Loading required package: RColorBrewer

Loading required package: dplyr

 

Attaching package: 'dplyr'

 

The following object is masked from 'package:gridExtra':

 

    combine

 

The following objects are masked from 'package:stats':

 

    filter, lag

 

The following objects are masked from 'package:base':

 

    intersect, setdiff, setequal, union

 

Error in `levels<-`(`*tmp*`, value = if (nl == nL) as.character(labels) else paste0(labels,  :

  factor level [2] is duplicated

Calls: sortDataset -> factor

Execution halted 

boefraty's avatar
boefraty
Microsoft Employee
8 years ago

Hi, 

Make sure Dates are not hierarchies and no summary applied on other fields. 

You welcome to send me the PBIX and I'll have a look . 

boefraty @  microsoft  .  com 

  • © 2026 Microsoft
  • Manage cookies
  • Privacy & cookies
  • Terms of use
  • Trademarks
Your Privacy Choices Consumer Health Privacy