<?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: How to Handle Object Level Security without error in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/How-to-Handle-Object-Level-Security-without-error/m-p/4776433#M62335</link>
    <description>&lt;P&gt;Should work on the service too.&lt;/P&gt;</description>
    <pubDate>Fri, 25 Jul 2025 12:53:05 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2025-07-25T12:53:05Z</dc:date>
    <item>
      <title>How to Handle Object Level Security without error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-Handle-Object-Level-Security-without-error/m-p/4016310#M53789</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have implemented Row level and Object Level Security using this &lt;A href="https://www.fourmoo.com/2020/05/26/did-you-know-you-can-now-selectively-show-report-pages-for-specific-users-in-power-bi/" target="_self"&gt;link.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Lets assume I have User Group A and User Group B. Group A can see all the columns where as Group B cannot see Column1 and Column2.&lt;/P&gt;&lt;P&gt;I have a table which have the few columns including Column 1 and Column 2.&lt;/P&gt;&lt;P&gt;Is there a way, when Group B accessing that table, can see the other data except Column1 and Column2 instead of showing the whole table as error&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sam_gift_0-1719612312616.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1124086i458A4B9B46DFB913/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sam_gift_0-1719612312616.png" alt="sam_gift_0-1719612312616.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2024 22:05:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-Handle-Object-Level-Security-without-error/m-p/4016310#M53789</guid>
      <dc:creator>sam_gift</dc:creator>
      <dc:date>2024-06-28T22:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to Handle Object Level Security without error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-Handle-Object-Level-Security-without-error/m-p/4017392#M53798</link>
      <description>&lt;P&gt;Try adding the columns via Field Parameters.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 00:53:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-Handle-Object-Level-Security-without-error/m-p/4017392#M53798</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-07-01T00:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to Handle Object Level Security without error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-Handle-Object-Level-Security-without-error/m-p/4017566#M53805</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/456350"&gt;@sam_gift&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Base on your description and screenshot, it seems like the visual can't be displayed normally when apply both RLS and OLS. Could you please get and provide the details of error message by clicking "&lt;FONT color="#666699"&gt;See details&lt;/FONT&gt;" in below screenshot? Thank you.&amp;nbsp;&lt;SPAN&gt;Later we will check it and make troubleshooting.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vyiruanmsft_0-1719801587513.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1124536i1BA203D3AD505DC9/image-size/large?v=v2&amp;amp;px=999" role="button" title="vyiruanmsft_0-1719801587513.png" alt="vyiruanmsft_0-1719801587513.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;In addition, you can refer the following links to make troubleshooting and try to get the solution.&lt;/P&gt;
&lt;P&gt;1. Check if hit any limitation&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/security/service-admin-object-level-security?tabs=table" target="_self"&gt;Considerations and limitations&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vyiruanmsft_1-1719801770837.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1124538iB4FF5C462003F45E/image-size/large?v=v2&amp;amp;px=999" role="button" title="vyiruanmsft_1-1719801770837.png" alt="vyiruanmsft_1-1719801770837.png" /&gt;&lt;/span&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;2.&amp;nbsp;&lt;A href="https://www.insightsarena.com/post/mastering-object-level-security-in-power-bi-fixing-broken-visuals" target="_blank" rel="noopener"&gt;Mastering OLS in PowerBi: Fixing Broken Visuals&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;DIV data-breakout="normal"&gt;
&lt;H2 class="" dir="auto"&gt;&lt;FONT size="3"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;&lt;SPAN&gt;How to fix broken visuals&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/H2&gt;
&lt;DIV data-breakout="normal"&gt;
&lt;H2 class="" dir="auto"&gt;&lt;FONT size="3"&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;There might different couple of workaround to fix lets discuss one of the best one i.e. using Field parameter in visual instead of using direct measure.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/H2&gt;
&lt;DIV data-hook="rcv-block27"&gt;&lt;FONT size="3"&gt;&lt;STRONG style="color: #4f4f4f; font-size: 18px;"&gt;&lt;STRONG style="color: #4f4f4f; font-size: 18px;"&gt;&lt;STRONG style="color: #4f4f4f; font-size: 18px;"&gt;Scenario 1:&lt;SPAN&gt; Suppose you have two measures Discount and Sales. Under OLS particular group of people are not allowed to see sales. If we use OLS and put both measures individually it will break complete visual, it should show only Discount.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV data-hook="rcv-block27"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;To overcome this&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #4f4f4f; font-size: 18px;"&gt;&amp;nbsp;scenario make a field parameter of both Discount and Sales. Use parameter in visual instead of individual measure. Discount and Sales should be measures.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;DIV data-breakout="normal"&gt;
&lt;DIV data-breakout="normal"&gt;
&lt;DIV id="viewer-d73cv" class=""&gt;
&lt;DIV class=""&gt;
&lt;FIGURE class="" tabindex="0" role="button" data-hook="imageViewer"&gt;
&lt;DIV id="d73cv" class=""&gt;&lt;FONT size="3"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vyiruanmsft_2-1719801806871.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1124543iB2CD80F80EDA2749/image-size/large?v=v2&amp;amp;px=999" role="button" title="vyiruanmsft_2-1719801806871.png" alt="vyiruanmsft_2-1719801806871.png" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;BR /&gt;
&lt;DIV data-breakout="normal"&gt;
&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;&lt;FONT size="3"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;&lt;SPAN&gt;Scenario 2: &lt;SPAN&gt;If you need to restrict a particular column in a visual (direct column or calculated column), using Field Parameters may not be sufficient&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;DIV data-hook="rcv-block31"&gt;&lt;FONT size="3"&gt;&lt;STRONG style="color: #4f4f4f; font-size: 18px;"&gt;&lt;STRONG style="color: #4f4f4f; font-size: 18px;"&gt;This scenario depends on use case such as if you can use measure instead of using Column/Calculated Column using Min, Max , etc of value and follow same path as scenario 1.&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/FIGURE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 02:49:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-Handle-Object-Level-Security-without-error/m-p/4017566#M53805</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-01T02:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to Handle Object Level Security without error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-Handle-Object-Level-Security-without-error/m-p/4776311#M62333</link>
      <description>&lt;P&gt;Correct me if im wrong but this workaround doesn't work on service?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jul 2025 10:55:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-Handle-Object-Level-Security-without-error/m-p/4776311#M62333</guid>
      <dc:creator>uros_prevorcnik</dc:creator>
      <dc:date>2025-07-25T10:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to Handle Object Level Security without error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-Handle-Object-Level-Security-without-error/m-p/4776433#M62335</link>
      <description>&lt;P&gt;Should work on the service too.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jul 2025 12:53:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-Handle-Object-Level-Security-without-error/m-p/4776433#M62335</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2025-07-25T12:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to Handle Object Level Security without error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-Handle-Object-Level-Security-without-error/m-p/4776480#M62336</link>
      <description>&lt;P&gt;It does when using only one measure in a visual. What about when you are using more than one measure and one of them is affected by OLS? Do you have any workaround for this, because it doesn't work on service?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jul 2025 13:29:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-Handle-Object-Level-Security-without-error/m-p/4776480#M62336</guid>
      <dc:creator>uros_prevorcnik</dc:creator>
      <dc:date>2025-07-25T13:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to Handle Object Level Security without error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-Handle-Object-Level-Security-without-error/m-p/4776598#M62346</link>
      <description>&lt;P&gt;The original question was for columns, not for measures.&amp;nbsp; OLS affects columns (and tables)&amp;nbsp; and doesn't really relate to&amp;nbsp; measures.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jul 2025 14:52:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-Handle-Object-Level-Security-without-error/m-p/4776598#M62346</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2025-07-25T14:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to Handle Object Level Security without error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-Handle-Object-Level-Security-without-error/m-p/4776730#M62349</link>
      <description>&lt;P&gt;You're right, the original question was about columns. I was just jumping in because I have a similar issue, but with measures instead. I was hoping to get some help since the context felt somewhat related.&amp;nbsp;&lt;SPAN&gt;I'm using OLS on the underlying columns, and while the solution with parameters works fine in Power BI Desktop, I'm running into a problem in the Power BI Service.&amp;nbsp;When I have a visual that combines affected &lt;SPAN&gt;(by the OLS)&amp;nbsp;&lt;/SPAN&gt;and unaffected measures, instead of just showing the unaffected ones, the entire visual breaks.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jul 2025 17:24:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-Handle-Object-Level-Security-without-error/m-p/4776730#M62349</guid>
      <dc:creator>uros_prevorcnik</dc:creator>
      <dc:date>2025-07-25T17:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to Handle Object Level Security without error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-Handle-Object-Level-Security-without-error/m-p/4776796#M62351</link>
      <description>&lt;P&gt;I don't think you can combine OLS with measure based field parameters.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jul 2025 19:05:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-Handle-Object-Level-Security-without-error/m-p/4776796#M62351</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2025-07-25T19:05:24Z</dc:date>
    </item>
  </channel>
</rss>

