top of page

All (380)
Blog Posts (162)
Other Pages (14)
Forum Posts (108)
Programs (96)
Filter by
Type
Category
108 results found with an empty search
- I need some help on a dynamic measure header display based on slicer selections.In Ask Questions·October 19, 2023I need some help on a dynamic measure header display based on slicer selections. Currently, my measure header is as follows by default (without slicer selection): Total Sales Total Cost Total GP But when my slicer of subsidiary is selected (for example ABC or XYZ), i need to measure header to change accordingly to below, depending on single selection. If multiple selections then default header applies. Sales for ABC Cost for ABC GP for ABC or Sales for XYZ Cost for XYZ GP for XYZ I have seem a few number of tutorials but mostly are dealing with dynamic column headers and I have no idea how to apply to measures. Bookmarks will not help as well since it might reverse selections of other slicers. Many thanks in advance! Cheers! Regards Shao014
- Power BI Project End to End- HR AnalyticsIn Power BI Projects·August 15, 2023Topics you will be learn in this Power BI Project: - Data Cleaning & Processing in Power BI - Power BI Dashboard Setup - Import data in Power BI - Power Query in Power BI - DAX in Power BI - Measures and Calculations in Power BI - Charts in Power BI - Filters and Slicers in Power BI - Dashboard in Power BI - Export Power BI Dashboard - Insights from Dashboard Create the below dashboard in power bi desktop. You can download the datasets to practice this project.0141
- I am trying to install FullStory to record sessions on SF. The script is uploaded as a static resource into SFIn Ask Questions·September 29, 2023I am trying to install FullStory to record sessions on SF. The script is uploaded as a static resource into SF, properly loaded, but then only the component that loaded it has access to it. The instalation of FullStory is very similar to most analytics tools, you just include a code snippet to your page header and it just works. However SF places it inside shadow dom and its not accessible globally, this prevents FS from capturing the screen because its not properly setup. this is how my component looks like import { LightningElement } from 'lwc'; import fsScript from "@salesforce/resourceUrl/local-fullstory"; import { loadStyle, loadScript } from "lightning/platformResourceLoader"; export default class FullStoryTest extends LightningElement { connectedCallback() { console.log("in connect " + fsScript); loadScript(this, fsScript) .then(() => { console.log("Loaded"); console.log("FS obj " + FS); // here FS object is available }).catch((err) => console.log(err)); } } } Inside I have access to FS object, but I have to be albe to access FS in the browser console once I open the page. Is there a way to achieve this in SF?016
- C Macro with a function errors out: expression cannot be used as a functionIn Ask Questions·September 29, 2023Inspired from this,(https://stackoverflow.com/questions/8487986/file-macro-shows-full-path) I am trying to write my Macro that uses a function inside, and fail: #include // Define a helper macro to get the file name from __FILE__ #define FILENAME_ONLY(file) (strrchr(file, '/') ? strrchr(file, '/') + 1 : file) // Use the helper macro to create MYFILENAME #define MYFILENAME FILENAME_ONLY(__FILE__) // Create __MYFILE__ macro #define __MYFILE__ "[" MYFILENAME "]" #include int main() { printf("%s\n", __MYFILE__); return 0; } I get: main.cpp:4:80: error: expression cannot be used as a function #define FILENAME_ONLY(file) (strrchr(file, '/') ? strrchr(file, '/') + 1 : file) What am I missing please?013
- MySQL query - all combinations without duplicates or reverse order duplicatesIn Ask Questions·September 29, 2023I have a query that returns all possible combinations from 5 columns. The problem is I want to remove duplicates (Car | Car) and reserve order duplicates (Truck | Car) if (Car | Truck) already exists. I’ve played around with DISTINCT, but haven’t had any luck. Sample Data: wdt_id|column1|column2|column3|column4|column5 1|Car|Car|''|Cat|'' 2|Truck|Truck|''|Dog|'' 3|Plane|Plane|''|Bird|'' SELECT item1, item2, item3, item4, item5 ,concat_ws('',NULLIF(item1,''),NULLIF(item2,''),NULLIF(item3,''),NULLIF(item4,''),NULLIF(item5,'')) as combination FROM ( SELECT column1 AS item1 FROM sample_data ) AS t1 CROSS JOIN ( SELECT column2 AS item2 FROM sample_data ) AS t2 CROSS JOIN ( SELECT column3 AS item3 FROM sample_data ) AS t3 CROSS JOIN ( SELECT column4 AS item4 FROM sample_data ) AS t4 CROSS JOIN ( SELECT column5 AS item5 FROM sample_data ) AS t5 GROUP BY item1, item2, item3, item4, item5 ,concat_ws('',IFNULL(item1,''),IFNULL(item2,''),IFNULL(item3,''),IFNULL(item4,''),IFNULL(item5,''))013
- How to increase the intelligence of interaction between a chatbot with an llm model through the processing of information from pdf documentsIn Ask Questions·September 29, 2023I am working on a chatbot connected to the OpenAI API that is responsible for answering questions related to documents that have previously been processed and finally saved in a vector database. The process that the PDF documents have followed consists of dividing the entire document into chunks and finally vectorizing them and saving them to a vector database that also connects to the interface where the user asks about the information of said document. I am also using python for the web interface and langchain as the framework to connect to the OpenAI APIs. However, when a user asks a question on the interface they sometimes get confused and give a very similar answer. This is because the PDF document has subtopics and among them some concepts are similar. So the question the user asks must be very specific. But what happens if the user doesn't know the topic and starts asking general questions? you will get wrong answers (Although for the model they will be fine) So now I want to improve the quality of my chatbot's responses. I want him to be smarter. I am thinking that the PDF document should be pre-treated, organized or divided into each subtopic. So that it is saved in an orderly manner in the vector database. Or maybe another tool is what I should modify? like python code. Some of you have had the same problem of poor quality answers due to many overlaps in various sections of the PDF document, and would like better quality and specific answers. Maybe you can comment and share a solution to this problem. I appreciate it very much.012
- One quick question please : Do we need to install any gateway to connect post GRE SQL database to connect to Azure.In Ask QuestionsOctober 28, 2023Based on the video, it seems like you might not need a gateway to connect Power BI to an Azure SQL database, as they are both cloud-based services. However, you may encounter issues due to network security and firewall settings. In the example provided in the video, the user received an error because their IP address wasn't allowed to access the database. To resolve this, they added their IP address to the firewall rules, which allowed them to connect to the database. If you are experiencing a similar error, you can try the following steps: 1. Check the firewall rules of your Azure SQL database to ensure that your IP address is allowed. 2. If your organization has strict security policies, you may need to consult with your IT department or network administrator to ensure that Power BI can connect to the database. 3. As mentioned in the video, for Azure SQL databases, you can try allowing Azure services and resources to access the database. This should allow Power BI to connect to the database without the need for a gateway.0
- Are you getting Microsoft mashup engine1 error, odata version 3 and 4 error, error 404 not foundIn Tech TalkJuly 20, 2023First I need to paste correct link in SharePoint folder0
- Hi sir,I have today count measure Yesterday count measureIn Ask Questions·October 26, 2023Hi sir,I have today count measure Yesterday count measure Last week same day count measure How can we show today vs yesterday Today vs yesterday vs last week same day Today vs last week same day I'n line chart I tried to create switch measure But it accepts one value to one measure Any inputs on this pls018
- Are the Ciphers ECDHE-RSA-AES128-SHA256 and ECDHE-RSA-AES256-SHA384 strong?In Ask Questions·September 29, 2023ELBSecurityPolicy-TLS13-1-2-2021-06 Once this policy is updated the server has listed below Ciphers which are supported. Preferred TLSv1.3 128 bits TLS_AES_128_GCM_SHA256 Curve 25519 DHE 253 Accepted TLSv1.3 256 bits TLS_AES_256_GCM_SHA384 Curve 25519 DHE 253 Accepted TLSv1.3 256 bits TLS_CHACHA20_POLY1305_SHA256 Curve 25519 DHE 253 Preferred TLSv1.2 128 bits ECDHE-RSA-AES128-GCM-SHA256 Curve 25519 DHE 253 Accepted TLSv1.2 128 bits ECDHE-RSA-AES128-SHA256 Curve 25519 DHE 253 Accepted TLSv1.2 256 bits ECDHE-RSA-AES256-GCM-SHA384 Curve 25519 DHE 253 Accepted TLSv1.2 256 bits ECDHE-RSA-AES256-SHA384 Curve 25519 DHE 253 Are these Ciphers strong or safe? As per my understanding from web, the GCM ones are strong Ciphers. However when I checked for others, say "ECDHE-RSA-AES128-SHA256" the search results only show "ECDHE_RSA_WITH_AES_128_CBC_SHA256". Looks like this one has vulnerabilities (Beast attack). Are these both same? Is it ok to allow "ECDHE-RSA-AES128-SHA256" and "ECDHE-RSA-AES256-SHA384" Please advise.014
- How to configure import mode for PBIRS report?In Ask Questions·September 29, 2023How to configure import mode for PBIRS report? Does power bi report server paginated report (made via report builder) support import mode?018
- how to get this ' floor(weekend (today())))' in DAXIn Ask Questions·September 29, 2023how to get this ' floor(weekend (today())))' in DAX0110
bottom of page